Skip to content

Commit 62ad16c

Browse files
committed
Auto merge of #48379 - nikomatsakis:issue-48251-beta, r=Mark-Simulacrum
[beta] temporarily disable #46833 due to #48251 see also #48378 r? @Mark-Simulacrum
2 parents 5902706 + 61c2258 commit 62ad16c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/librustc_mir/build/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ fn should_abort_on_panic<'a, 'gcx, 'tcx>(tcx: TyCtxt<'a, 'gcx, 'tcx>,
372372
// unwind anyway. Don't stop them.
373373
if tcx.has_attr(tcx.hir.local_def_id(fn_id), "unwind") { return false; }
374374

375-
return true;
375+
// FIXME(rust-lang/rust#48251) -- Had to disable abort-on-panic
376+
// for backwardsa compatibility reasons.
377+
false
376378
}
377379

378380
///////////////////////////////////////////////////////////////////////////

src/test/run-pass/abort-on-c-abi.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
// ignore-cloudabi no env and process
1515
// ignore-emscripten no processes
16+
// ignore-test FIXME rust-lang/rust#48251 -- temporarily disabled
1617

1718
use std::{env, panic};
1819
use std::io::prelude::*;

0 commit comments

Comments
 (0)