Skip to content

Commit c8eb844

Browse files
committed
go.mod, tools: use Go 1.24 tool dependencies
Use the tool go.mod directive introduced in Go 1.24 [^1] to specify the ebpf2go tool that is needed during build. This allows to drop the tools/tools.go which was used so far to pull in this dependency. [^1]: https://go.dev/doc/modules/managing-dependencies#tools Signed-off-by: Tobias Klauser <tobias@cilium.io>
1 parent 417d63a commit c8eb844

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ require (
3131
github.com/rivo/uniseg v0.4.7 // indirect
3232
rsc.io/c2go v0.0.0-20170620140410-520c22818a08 // indirect
3333
)
34+
35+
tool github.com/cilium/ebpf/cmd/bpf2go

tools/tools.go

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)