Add needs-unwind to tests
This commit is contained in:
parent
568d9c5547
commit
e1a8ecf771
@ -1,5 +1,6 @@
|
||||
// build-pass
|
||||
// compile-flags: -C panic=unwind
|
||||
// needs-unwind
|
||||
// ignore-emscripten no panic_unwind implementation
|
||||
// ignore-wasm32 no panic_unwind implementation
|
||||
// ignore-wasm64 no panic_unwind implementation
|
||||
|
@ -1,6 +1,7 @@
|
||||
// aux-build:weak-lang-items.rs
|
||||
// error-pattern: `#[panic_handler]` function required, but not found
|
||||
// error-pattern: language item required, but not found: `eh_personality`
|
||||
// needs-unwind since it affects the error output
|
||||
// ignore-emscripten compiled with panic=abort, personality not required
|
||||
|
||||
#![no_std]
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0259]: the name `core` is defined multiple times
|
||||
--> $DIR/weak-lang-item.rs:8:1
|
||||
--> $DIR/weak-lang-item.rs:9:1
|
||||
|
|
||||
LL | extern crate core;
|
||||
| ^^^^^^^^^^^^^^^^^^ `core` reimported here
|
||||
|
@ -1,5 +1,6 @@
|
||||
// build-fail
|
||||
// compile-flags:-C panic=abort -C prefer-dynamic
|
||||
// needs-unwind
|
||||
// ignore-musl - no dylibs here
|
||||
// ignore-emscripten
|
||||
// ignore-sgx no dynamic lib support
|
||||
|
@ -2,6 +2,7 @@
|
||||
#![allow(unused_variables)]
|
||||
|
||||
// compile-flags:-C lto -C panic=unwind
|
||||
// needs-unwind
|
||||
// no-prefer-dynamic
|
||||
// ignore-emscripten no processes
|
||||
// ignore-sgx no processes
|
||||
|
@ -1,4 +1,5 @@
|
||||
// build-fail
|
||||
// needs-unwind
|
||||
// aux-build:panic-runtime-unwind.rs
|
||||
// aux-build:panic-runtime-abort.rs
|
||||
// aux-build:wants-panic-runtime-unwind.rs
|
||||
|
@ -1,4 +1,5 @@
|
||||
// build-fail
|
||||
// needs-unwind
|
||||
// error-pattern:is incompatible with this crate's strategy of `unwind`
|
||||
// aux-build:panic-runtime-abort.rs
|
||||
// aux-build:panic-runtime-lang-items.rs
|
||||
|
@ -1,4 +1,5 @@
|
||||
// build-fail
|
||||
// needs-unwind
|
||||
// error-pattern:is incompatible with this crate's strategy of `unwind`
|
||||
// aux-build:panic-runtime-abort.rs
|
||||
// aux-build:wants-panic-runtime-abort.rs
|
||||
|
@ -1,4 +1,5 @@
|
||||
// run-pass
|
||||
// needs-unwind
|
||||
// ignore-windows target requires uwtable
|
||||
// ignore-wasm32-bare no proper panic=unwind support
|
||||
// compile-flags: -C panic=unwind -C force-unwind-tables=n
|
||||
|
Loading…
x
Reference in New Issue
Block a user