mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
make UI tests that use --test work on panic=abort targets
by adding `-Zpanic_abort_test`, which is a no-op on panic=unwind targets fixes #135819
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
//@ compile-flags: --test
|
||||
// -Zpanic_abort_tests makes this test work on panic=abort targets and
|
||||
// it's a no-op on panic=unwind targets
|
||||
//@ compile-flags: --test -Zpanic_abort_tests
|
||||
//@ run-pass
|
||||
|
||||
#![feature(core_intrinsics, generic_assert)]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
//@ compile-flags: --test
|
||||
// -Zpanic_abort_tests makes this test work on panic=abort targets and
|
||||
// it's a no-op on panic=unwind targets
|
||||
//@ compile-flags: --test -Zpanic_abort_tests
|
||||
// ignore-tidy-linelength
|
||||
//@ run-pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user