File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
tests/run-make/static-unwinding Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,6 @@ run-make/stable-symbol-names/Makefile
264264run-make/static-dylib-by-default/Makefile
265265run-make/static-extern-type/Makefile
266266run-make/static-pie/Makefile
267- run-make/static-unwinding/Makefile
268267run-make/staticlib-blank-lib/Makefile
269268run-make/staticlib-dylib-linkage/Makefile
270269run-make/std-core-cycle/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // During unwinding, an implementation of Drop is possible to clean up resources.
2+ // This test implements drop in both a main function and its static library.
3+ // If the test succeeds, a Rust program being a static library does not affect Drop implementations.
4+ // See https://github.com/rust-lang/rust/issues/10434
5+
6+ //@ ignore-cross-compile
7+ //@ needs-unwind
8+
9+ use run_make_support:: { run, rustc} ;
10+
11+ fn main ( ) {
12+ rustc ( ) . input ( "lib.rs" ) . run ( ) ;
13+ rustc ( ) . input ( "main.rs" ) . run ( ) ;
14+ run ( "main" ) ;
15+ }
You can’t perform that action at this time.
0 commit comments