implement const_deallocate as a NOP
This commit is contained in:
parent
2ba1e843c1
commit
ec66d2934b
1 changed files with 3 additions and 0 deletions
|
|
@ -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" => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue