github.com/cilium/ebpf@v0.10.0/cmd/bpf2go/test/doc.go (about) 1 // Package test checks that the code generated by bpf2go conforms to a 2 // specific API. 3 package test 4 5 // $BPF_CLANG and $BPF_CFLAGS are set by the Makefile. 6 //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -cc $BPF_CLANG test ../testdata/minimal.c