diff options
| author | bors <bors@rust-lang.org> | 2024-05-17 06:19:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-17 06:19:50 +0000 |
| commit | fffc8e9b43c06958eac6273bd2fd3b0348378925 (patch) | |
| tree | 70987021221722000415063686ffca4cc34afbe5 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 7e5b9e215ddf8d183e944d088a105b2aa7ad4074 (diff) | |
| parent | 983fb093ff10a98e8416c10e540f362d50c93f6a (diff) | |
| download | rust-fffc8e9b43c06958eac6273bd2fd3b0348378925.tar.gz rust-fffc8e9b43c06958eac6273bd2fd3b0348378925.zip | |
Auto merge of #3526 - Strophox:miri-memory, r=RalfJung
Adjust Allocation Bytes used by Miri to custom MiriAllocBytes Previously, the `MiriMachine` used `type Bytes = Box<[u8]>` for its allocations. This PR swaps this out for a custom `MiriAllocBytes` type implemented in `alloc_bytes.rs`. This is in anticipation of an extension to Miri's FFI, which will require its allocations to take care of alignment (the methods in `impl AllocBytes for Box<[u8]>` ignore this `_align: Align` argument). Needs https://github.com/rust-lang/rust/pull/124492
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
