Skip to content

Commit 465a755

Browse files
oli-obkRalfJung
andauthored
Update src/tools/miri/src/shims/intrinsics/mod.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 2572c81 commit 465a755

File tree

1 file changed

+1
-0
lines changed
  • src/tools/miri/src/shims/intrinsics

1 file changed

+1
-0
lines changed

src/tools/miri/src/shims/intrinsics/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
6464

6565
// The rest jumps to `ret` immediately.
6666
if !this.emulate_intrinsic_by_name(intrinsic_name, instance.args, args, dest)? {
67+
// We haven't handled the intrinsic, let's see if we can use a fallback body.
6768
if this.tcx.intrinsic(instance.def_id()).unwrap().must_be_overridden {
6869
throw_unsup_format!("unimplemented intrinsic: `{intrinsic_name}`")
6970
}

0 commit comments

Comments
 (0)