File tree 4 files changed +14
-11
lines changed
mingw-export-call-convention
4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ run-make/manual-link/Makefile
110
110
run-make/many-crates-but-no-match/Makefile
111
111
run-make/metadata-dep-info/Makefile
112
112
run-make/min-global-align/Makefile
113
- run-make/mingw-export-call-convention/Makefile
114
113
run-make/missing-crate-dependency/Makefile
115
114
run-make/mixing-libs/Makefile
116
115
run-make/msvc-opt-minsize/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // On windows-gnu, symbol exporting used to fail to export names
2
+ // with no_mangle. #72049 brought this feature up to par with msvc,
3
+ // and this test checks that the symbol "bar" is successfully exported.
4
+ // See https://github.com/rust-lang/rust/issues/50176
5
+
6
+ //@ only-x86_64-pc-windows-gnu
7
+
8
+ use run_make_support:: { llvm_readobj, rustc} ;
9
+
10
+ fn main ( ) {
11
+ rustc ( ) . input ( "foo.rs" ) . run ( ) ;
12
+ llvm_readobj ( ) . arg ( "--all" ) . input ( "libfoo.dll.a" ) . run ( ) . assert_stdout_contains ( "bar" ) ;
13
+ }
Original file line number Diff line number Diff line change 5
5
// checks that no full file paths are exposed and that the override flag is respected.
6
6
// See https://github.com/rust-lang/rust/pull/121297
7
7
8
- //@ only-windows
8
+ //@ only-x86_64-pc- windows-msvc
9
9
10
10
fn main ( ) {
11
11
// Test that we don't have the full path to the PDB file in the binary
You can’t perform that action at this time.
0 commit comments