We currently lose clang warnings from the BPF compilation when building with Cargo if there is not an error. This can be fixed by changing libbpf-cargo and the BpfBuilder.
First draft of getting the data out from libbpf-cargo: https://github.com/libbpf/libbpf-rs/pull/994 - this might end up changing a bit before landing depending on what the maintainers want.
We currently lose clang warnings from the BPF compilation when building with Cargo if there is not an error. This can be fixed by changing libbpf-cargo and the BpfBuilder.