Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/run-make/raw-dylib-link-ordinal/exporter.def
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
LIBRARY exporter
EXPORTS
exported_function @13 NONAME
exported_variable @5 NONAME
exported_variable @5 NONAME DATA
print_exported_variable @9 NONAME
3 changes: 2 additions & 1 deletion tests/run-make/raw-dylib-link-ordinal/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

//@ only-windows

use run_make_support::{cc, diff, is_windows_msvc, run, rustc};
use run_make_support::{cc, diff, extra_c_flags, is_windows_msvc, run, rustc};

// NOTE: build_native_dynamic lib is not used, as the special `def` files
// must be passed to the CC compiler.
Expand All @@ -24,6 +24,7 @@ fn main() {
cc().input("exporter.obj")
.arg("exporter.def")
.args(&["-link", "-dll", "-noimplib", "-out:exporter.dll"])
.args(extra_c_flags())
.run();
} else {
cc().arg("-v").arg("-c").out_exe("exporter.obj").input("exporter.c").run();
Expand Down
Loading