about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-17 06:19:50 +0000
committerbors <bors@rust-lang.org>2024-05-17 06:19:50 +0000
commitfffc8e9b43c06958eac6273bd2fd3b0348378925 (patch)
tree70987021221722000415063686ffca4cc34afbe5 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent7e5b9e215ddf8d183e944d088a105b2aa7ad4074 (diff)
parent983fb093ff10a98e8416c10e540f362d50c93f6a (diff)
downloadrust-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