Skip to content

Commit 9a1dd86

Browse files
committed
whitelist Windows Mutex
1 parent b24e1b7 commit 9a1dd86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for Evaluator<'tcx> {
265265
const WHITELIST: &[&str] = &[
266266
// Uses mem::uninitialized
267267
"std::ptr::read",
268+
"std::sys::windows::mutex::Mutex::",
268269
];
269270
for frame in ecx.stack().iter()
270271
.rev().take(3)

0 commit comments

Comments
 (0)