Skip to content

Commit

Permalink
Auto merge of #1974 - RalfJung:const, r=RalfJung
Browse files Browse the repository at this point in the history
implement const_deallocate as a NOP
  • Loading branch information
bors committed Feb 12, 2022
2 parents 2ba1e84 + ec66d29 commit 0db4090
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shims/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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" => {
Expand Down

0 comments on commit 0db4090

Please sign in to comment.