mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
fmt
This commit is contained in:
@@ -518,9 +518,7 @@ pub fn new_allocation(
|
||||
) => (extra.global_base_ptr(id), Permission::SharedReadWrite),
|
||||
// Heap allocations we only track precisely when raw pointers are tagged, for now.
|
||||
MemoryKind::Machine(
|
||||
MiriMemoryKind::Rust
|
||||
| MiriMemoryKind::C
|
||||
| MiriMemoryKind::WinHeap,
|
||||
MiriMemoryKind::Rust | MiriMemoryKind::C | MiriMemoryKind::WinHeap,
|
||||
) => {
|
||||
let tag =
|
||||
if extra.track_raw { Tag::Tagged(extra.new_ptr()) } else { Tag::Untagged };
|
||||
|
||||
Reference in New Issue
Block a user