This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed
forced-unwind-terminate-pof
metadata-flag-frobs-symbols Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ run-make/extern-multiple-copies/Makefile
5151run-make/extern-multiple-copies2/Makefile
5252run-make/extra-filename-with-temp-outputs/Makefile
5353run-make/fmt-write-bloat/Makefile
54- run-make/forced-unwind-terminate-pof/Makefile
5554run-make/foreign-double-unwind/Makefile
5655run-make/foreign-exceptions/Makefile
5756run-make/foreign-rust-exceptions/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // During a forced unwind, crossing the non-Plain Old Frame
2+ // would define the forced unwind as undefined behaviour, and
3+ // immediately abort the unwinding process. This test checks
4+ // that the forced unwinding takes precedence.
5+ // See https://github.com/rust-lang/rust/issues/101469
6+
7+ //@ ignore-cross-compile
8+ //@ ignore-windows
9+ //Reason: pthread (POSIX threads) is not available on Windows
10+
11+ use run_make_support:: { run, rustc} ;
12+
13+ fn main ( ) {
14+ rustc ( ) . input ( "foo.rs" ) . run ( ) ;
15+ run ( "foo" ) . assert_stdout_not_contains ( "cannot unwind" ) ;
16+ }
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ fn main() {
1515 . input ( "bar.rs" )
1616 . extern_ ( "foo1" , rust_lib_name ( "foo-a" ) )
1717 . extern_ ( "foo2" , rust_lib_name ( "foo-b" ) )
18- . print ( "link-args" )
1918 . run ( ) ;
2019 run ( "bar" ) ;
2120}
You can’t perform that action at this time.
0 commit comments