This repository was archived by the owner on May 28, 2025. It is now read-only.
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 @@ -229,7 +229,6 @@ run-make/symbol-mangling-hashed/Makefile
229229run-make/symbol-visibility/Makefile
230230run-make/symbols-include-type-name/Makefile
231231run-make/symlinked-libraries/Makefile
232- run-make/symlinked-rlib/Makefile
233232run-make/sysroot-crates-are-unstable/Makefile
234233run-make/target-cpu-native/Makefile
235234run-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