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
229
229
run-make/symbol-visibility/Makefile
230
230
run-make/symbols-include-type-name/Makefile
231
231
run-make/symlinked-libraries/Makefile
232
- run-make/symlinked-rlib/Makefile
233
232
run-make/sysroot-crates-are-unstable/Makefile
234
233
run-make/target-cpu-native/Makefile
235
234
run-make/target-specs/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
// using the --extern option to rustc, which could lead to rustc thinking
4
4
// that it encountered two different versions of a crate, when it's
5
5
// actually the same version found through different paths.
6
+ // See https://github.com/rust-lang/rust/pull/16505
6
7
7
8
// This test checks that --extern and symlinks together
8
9
// 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