Skip to content

Commit

Permalink
something
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilstrieb committed Mar 22, 2024
1 parent 2c83e79 commit 74a60a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backtrace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub unsafe fn trace_unsynchronized<F: FnMut(&Frame) -> bool>(mut cb: F) {
for i in 0..(1024 * 1024) {
(&super::CRITICALLY_IMPORTANT as *const u8)
.add(i)
.read_volatile()
.read_volatile();
}
};
trace_imp(&mut cb)
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ impl Drop for Bomb {
}
}

/// hello i am documentation o/
#[used]
pub static CRITICALLY_IMPORTANT: [u8; 1024*1024] = [0; 1024*1024];

Expand Down

0 comments on commit 74a60a7

Please sign in to comment.