Skip to content

Commit 0db4090

Browse files
committed
Auto merge of #1974 - RalfJung:const, r=RalfJung
implement const_deallocate as a NOP
2 parents 2ba1e84 + ec66d29 commit 0db4090

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/shims/intrinsics.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
5959
// See <https://github.com/rust-lang/rust/issues/93935>.
6060
this.write_null(dest)?;
6161
}
62+
"const_deallocate" => {
63+
// complete NOP
64+
}
6265

6366
// Raw memory accesses
6467
"volatile_load" => {

0 commit comments

Comments
 (0)