mirror of https://github.com/aya-rs/aya
The `no_std` and `no_main` attributes are only needed when we compile the eBPF kernels for the "bpf" architecture. By feature-gating them on the target architecture, we ensure the kernels compile just fine on a host-architecture like x64. They won't be able to do anything meaningfully but it is useful within the context of the larger workspace they are embedded in as it allows `cargo build --workspace` and `cargo test --workspace` to just work. |
1 month ago | |
---|---|---|
.. | ||
src | 1 month ago | |
Cargo.toml | 2 months ago | |
build.rs | 8 months ago |