mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41c6b56142
The bpf_map_defs are now wrapped with UnsafeCell, which also happens to provide a cozy way to get a *mut pointer. An UnsafeCell isn't strictly required as the struct fields are practically opaque to us, but using an UnsafeCell follows the general best practices against miscompilation and also prevents some obvious errors. HashMap::get_mut was removed because the idea is completely unsound. Previous users should wrap their data with UnsafeCell instead or use atomics. Closes: https://github.com/aya-rs/aya/issues/233 |
3 years ago | |
---|---|---|
.. | ||
aya-bpf | 3 years ago | |
aya-bpf-bindings | 3 years ago | |
aya-bpf-cty | 3 years ago | |
aya-bpf-macros | 3 years ago | |
Cargo.toml | 4 years ago |