File tree Expand file tree Collapse file tree 5 files changed +17
-23
lines changed Expand file tree Collapse file tree 5 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ run-make/symbol-mangling-hashed/Makefile
253253run-make/symbol-visibility/Makefile
254254run-make/symbols-include-type-name/Makefile
255255run-make/symlinked-libraries/Makefile
256- run-make/symlinked-rlib/Makefile
257256run-make/sysroot-crates-are-unstable/Makefile
258257run-make/target-cpu-native/Makefile
259258run-make/target-specs/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33// using the --extern option to rustc, which could lead to rustc thinking
44// that it encountered two different versions of a crate, when it's
55// actually the same version found through different paths.
6+ // See https://github.com/rust-lang/rust/pull/16505
67
78// This test checks that --extern and symlinks together
89// can result in successful compilation.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Rustc did not recognize libraries which were symlinked
2+ // to files having extension other than .rlib. This was fixed
3+ // in #32828. This test creates a symlink to "foo.xxx", which has
4+ // an unusual file extension, and checks that rustc can successfully
5+ // use it as an rlib library.
6+ // See https://github.com/rust-lang/rust/pull/32828
7+
8+ //@ ignore-cross-compile
9+
10+ use run_make_support:: { create_symlink, rustc, tmp_dir} ;
11+
12+ fn main ( ) {
13+ rustc ( ) . input ( "foo.rs" ) . crate_type ( "rlib" ) . output ( tmp_dir ( ) . join ( "foo.xxx" ) ) . run ( ) ;
14+ create_symlink ( tmp_dir ( ) . join ( "foo.xxx" ) , tmp_dir ( ) . join ( "libfoo.rlib" ) ) ;
15+ rustc ( ) . input ( "bar.rs" ) . library_search_path ( tmp_dir ( ) ) ;
16+ }
You can’t perform that action at this time.
0 commit comments