Commit Graph

10 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
Dave Tucker 2eaae09c31 chore(aya-ebpf-cty): Add mips support
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
4 months ago
Eric Long 1fe12b9990
Fix aya-ebpf-* riscv64 build (#1139)
bpf_target_arch should be riscv64, but target triple starts with riscv64gc (and possibly riscv64 followed by any combination of extensions).
5 months ago
Tamir Duberstein 09eefd366f Remove long-dead travis config 6 months ago
Dave Tucker 59082f572c Release aya-ebpf-cty v0.2.2, aya-ebpf-bindings v0.1.1, aya-ebpf-macros v0.1.1, aya-ebpf v0.1.1
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
8 months ago
Billy McFall b513af12e8 aya: add archs powerpc64 and s390x to aya
bpfman, a project using aya, has a requirement to support powerpc64 and
s390x architectures. Adding these two architectures to aya.

Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
10 months ago
Tamir Duberstein e4f9ed8d79 Allowlist expected cfgs
See https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg.
1 year ago
Alessandro Decina e372fcf653 Release aya-ebpf-cty v0.2.1, aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 1 year ago
Dave Tucker 21f570a19c chore(aya-ebpf-cty): Rename bpf -> ebpf
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago