mirror of https://github.com/aya-rs/aya
The compiler will emit this function for certain operations, but aya currently does not provide an implementation. This leads to ebpf loading failures as the kernel can't find the symbol when loading the program. The implementation is based on https://github.com/rust-lang/compiler-builtins/blob/master/src/mem/mod.rs#L29-L40 and https://github.com/rust-lang/compiler-builtins/blob/master/src/mem/impls.rs#L128-L135 Only the simplest case has been implemented, none of the word optimizations, since memcpy also doesn't seem to have them. |
8 months ago | |
---|---|---|
.. | ||
.cargo | 1 year ago | |
aya-ebpf | 8 months ago | |
aya-ebpf-bindings | 8 months ago | |
aya-ebpf-cty | 10 months ago | |
aya-log-ebpf | 11 months ago | |
rust-toolchain.toml | 1 year ago |