std::ptr no longer needs whitelisting

This commit is contained in:
Ralf Jung 2018-11-27 09:23:22 +01:00
parent 6f9ee8b9e5
commit 464dee8edf

View file

@ -318,7 +318,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for Evaluator<'tcx> {
// We walk up the stack a few frames to also cover their callees.
const WHITELIST: &[(&str, &str)] = &[
// Uses mem::uninitialized
("std::ptr::read", ""),
("std::sys::windows::mutex::Mutex::", ""),
];
for frame in ecx.stack().iter()