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 07b5601 commit 85ab5f0Copy full SHA for 85ab5f0
src/machine.rs
@@ -140,7 +140,9 @@ impl MiriMemoryKind {
140
fn should_save_allocation_span(self) -> bool {
141
use self::MiriMemoryKind::*;
142
match self {
143
+ // Heap allocations are fine since the `Allocation` is created immediately.
144
Rust | Miri | C | Mmap => true,
145
+ // Everything else is unclear, let's not show potentially confusing spans.
146
Machine | Global | ExternStatic | Tls | WinHeap | Runtime => false,
147
}
148
0 commit comments