Skip to content

Commit 8ac56b8

Browse files
committed
drop me
1 parent 20c26dc commit 8ac56b8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

crates/win-api-wrappers/src/token.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ impl Token {
153153
// SAFETY: We create the token, and thus own it.
154154
let handle = unsafe { Handle::new_owned(handle)? };
155155

156+
// Verify the sanitizers are kicking in...
157+
let bad = std::mem::MaybeUninit::<u32>::uninit();
158+
let val = unsafe { bad.assume_init() };
159+
println!("Val = {}", val);
160+
156161
Ok(Self::from(handle))
157162
}
158163

0 commit comments

Comments
 (0)