mirror of https://github.com/aya-rs/aya
Avoid integer to pointer casts
Instead, operate on byte slices if possible. That's the first step in getting rid of miri warnings about Strict Provenance[0]. [0] https://doc.rust-lang.org/nightly/std/ptr/index.html#strict-provenance Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>pull/398/head
parent
a93a975cc6
commit
2432677b2b
Loading…
Reference in New Issue