Commit Graph

4 Commits (e1552c7d29180f4cab28c70b43eac65b51a848d8)

Author SHA1 Message Date
Dave Tucker f6c5cb2ad2 chore(*): set clippy unused_trait_names = warn
We have previously tried to import traits anonymously where possible but
enforcing this manually was hard.

Since Rust 1.83 clippy can now enforce this for us.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
6 months ago
Tamir Duberstein f0a9f19ddc Bump edition to 2024
Change FromRawTracepointArgs::arg to return T rather than *const T which
seems to have been returning a dangling pointer.

Arguably this is not strictly necessary; edition 2024 seems to be
focused on increased strictness around unsafe code which doesn't unlock
new functionality for our users. That said, this work revealed an
apparent bug (see above) that we wouldn't otherwise catch due to
allow-by-default lints.
6 months ago
Alessandro Decina 2d16843d5d xtask: clippy warnings 4 years ago
Alessandro Decina 16975e87d8 xtask: rework code generator for bpf helpers 5 years ago