implement const_deallocate as a NOP

This commit is contained in:
Ralf Jung 2022-02-12 12:17:37 +01:00
parent 2ba1e843c1
commit ec66d2934b

View File

@ -59,6 +59,9 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
// See <https://github.com/rust-lang/rust/issues/93935>.
this.write_null(dest)?;
}
"const_deallocate" => {
// complete NOP
}
// Raw memory accesses
"volatile_load" => {