mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
![]() Support allocations with non-Box<[u8]> bytes This is prep work for allowing miri to support passing pointers to C code, which will require `Allocation`s to be correctly aligned. Currently, it just makes `Allocation` generic and plumbs the necessary changes through the right places. The follow-up to this will be adding a type in the miri interpreter which correctly aligns the bytes, using that for the Miri engine, then allowing Miri to pass pointers into these allocations to C calls. Based off of #100467, credit to ```@emarteca``` for the code |
||
---|---|---|
.. | ||
locales | ||
src | ||
Cargo.toml |