We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906ff55 commit 1e4a73cCopy full SHA for 1e4a73c
src/machine.rs
@@ -123,7 +123,7 @@ impl fmt::Display for MiriMemoryKind {
123
use self::MiriMemoryKind::*;
124
match self {
125
Rust => write!(f, "Rust heap"),
126
- Miri => write!(f, "Miri heap"),
+ Miri => write!(f, "Miri bare-metal heap"),
127
C => write!(f, "C heap"),
128
WinHeap => write!(f, "Windows heap"),
129
Machine => write!(f, "machine-managed memory"),
tests/pass/miri-alloc.rs
@@ -14,7 +14,7 @@ extern "Rust" {
14
fn start(_: isize, _: *const *const u8) -> isize {
15
unsafe {
16
let ptr = miri_alloc(123, 1);
17
- core::ptr::write_bytes(ptr, 0, 123);
+ core::ptr::write_bytes(ptr, 0u8, 123);
18
miri_dealloc(ptr, 123, 1);
19
}
20
0
0 commit comments