Commit Graph

4 Commits (3ddbf5bd83368747bb69259037761c0027a52521)

Author SHA1 Message Date
Tamir Duberstein 3ddbf5bd83
Bump edition to 2024
This seems to reveal that the way we generated BPF programs (with
mutable statics) is always going to trip `static_mut_refs`, which is now
deny-by-default. See [static-mut-references].

Change FromRawTracepointArgs::arg to return T rather than *const T which
seems to have been returning a dangling pointer.

[static-mut-references]: https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html
3 months ago
Tamir Duberstein b45cc5a622
Use #[expect(...)] rather than #[allow(...)]
This is stricter, and revealed a few unused allowances.
3 months ago
Tamir Duberstein 5a43bedc01 Replace proc-macro-error with proc-macro2-diagnostics
proc-macro-error is unmaintained.
6 months ago
Dave Tucker ea8073793e chore(aya-ebpf-macros): Rename bpf -> ebpf
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago