Skip to content

Commit 17a677f

Browse files
committed
abort intrinsic is handled by librustc_mir now
1 parent 956692d commit 17a677f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/shims/intrinsics.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
3535
let (dest, ret) = match ret {
3636
None => match intrinsic_name {
3737
"miri_start_panic" => return this.handle_miri_start_panic(args, unwind),
38-
"abort" => {
39-
// FIXME: remove, once the intrinsic on the rustc side is fixed.
40-
throw_machine_stop!(TerminationInfo::Abort);
41-
}
4238
_ => throw_unsup_format!("unimplemented (diverging) intrinsic: {}", intrinsic_name),
4339
},
4440
Some(p) => p,

0 commit comments

Comments
 (0)