libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
788 stars 138 forks source link

Mark link with must_use #951

Closed lbrndnr closed 2 months ago

lbrndnr commented 2 months ago

This is a small fix that marks Link with must_use, as discussed in #940. This makes it clear right away that the program will detach immediately if not used.

d-e-s-o commented 2 months ago

Thank you!