Skip to content

Commit

Permalink
temporarily disable #46833 due to #48251
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored and Mark-Simulacrum committed Feb 22, 2018
1 parent a5cf56d commit 6a600f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_mir/build/mod.rs
Expand Up @@ -372,7 +372,9 @@ fn should_abort_on_panic<'a, 'gcx, 'tcx>(tcx: TyCtxt<'a, 'gcx, 'tcx>,
// unwind anyway. Don't stop them.
if tcx.has_attr(tcx.hir.local_def_id(fn_id), "unwind") { return false; }

return true;
// FIXME(rust-lang/rust#48251) -- Had to disable abort-on-panic
// for backwards compatibility reasons.
false
}

///////////////////////////////////////////////////////////////////////////
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/abort-on-c-abi.rs
Expand Up @@ -12,6 +12,7 @@
// we never unwind through them.

// ignore-emscripten no processes
// ignore-test FIXME rust-lang/rust#48251 -- temporarily disabled

use std::{env, panic};
use std::io::prelude::*;
Expand Down

0 comments on commit 6a600f8

Please sign in to comment.