diff options
| author | bors <bors@rust-lang.org> | 2024-05-24 08:11:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-24 08:11:36 +0000 |
| commit | 7fc41d1bdf4cd9c04f52d3342983c6b1964b0a42 (patch) | |
| tree | 32160cb1f70c008465c33343f85cf48b781f9fc7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 88d519f718bf4c44302aac2127ab97cd3010573d (diff) | |
| parent | b84620ff17b386969052d26b2868aa7e2557be79 (diff) | |
| download | rust-7fc41d1bdf4cd9c04f52d3342983c6b1964b0a42.tar.gz rust-7fc41d1bdf4cd9c04f52d3342983c6b1964b0a42.zip | |
Auto merge of #3625 - Strophox:miri-allocation-fix, r=RalfJung
Bugfix `MiriAllocBytes` to guarantee different addresses Fix in `alloc_bytes.rs` following https://github.com/rust-lang/miri/pull/3526 Currently when an allocation of `size == 0` is requested we return a `std::ptr::without_provenance_mut(align)`, but this means returned `ptr`s may overlap, which breaks things.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
