File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed
tests/run-make/suspicious-library Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ run-make/static-pie/Makefile
246246run-make/staticlib-blank-lib/Makefile
247247run-make/staticlib-dylib-linkage/Makefile
248248run-make/std-core-cycle/Makefile
249- run-make/suspicious-library/Makefile
250249run-make/symbol-mangling-hashed/Makefile
251250run-make/symbol-visibility/Makefile
252251run-make/symbols-include-type-name/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // This test creates some fake dynamic libraries with nothing inside,
2+ // and checks if rustc avoids them and successfully compiles as a result.
3+
4+ //@ ignore-cross-compile
5+
6+ use run_make_support:: { dynamic_lib, rustc} ;
7+ use std:: fs:: File ;
8+
9+ fn main ( ) {
10+ rustc ( ) . input ( "foo.rs" ) . arg ( "-Cprefer-dynamic" ) . run ( ) ;
11+ File :: create ( dynamic_lib ( "foo-something-special" ) ) . unwrap ( ) ;
12+ File :: create ( dynamic_lib ( "foo-something-special2" ) ) . unwrap ( ) ;
13+ rustc ( ) . input ( "bar.rs" ) ;
14+ }
You can’t perform that action at this time.
0 commit comments