]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make/raw-dylib-stdcall-ordinal/Makefile
Rollup merge of #99651 - compiler-errors:fn-and-raw-ptr-in-const-generics, r=oli-obk
[rust.git] / src / test / run-make / raw-dylib-stdcall-ordinal / Makefile
index 69f62669d6291da4d8cc3e3122699d921e869c3c..3360a97b5ff0e5e58d08df473671b75a6896a35e 100644 (file)
@@ -6,14 +6,14 @@
 -include ../../run-make-fulldeps/tools.mk
 
 all:
+       $(RUSTC) --crate-type lib --crate-name raw_dylib_test lib.rs
+       $(RUSTC) --crate-type bin driver.rs -L "$(TMPDIR)"
        $(call COMPILE_OBJ,"$(TMPDIR)"/exporter.obj,exporter.c)
 ifdef IS_MSVC
-       $(CC) "$(TMPDIR)"/exporter.obj exporter-msvc.def -link -dll -out:"$(TMPDIR)"/exporter.dll
+       $(CC) "$(TMPDIR)"/exporter.obj exporter-msvc.def -link -dll -out:"$(TMPDIR)"/exporter.dll -noimplib
 else
        $(CC) "$(TMPDIR)"/exporter.obj exporter-gnu.def -shared -o "$(TMPDIR)"/exporter.dll
 endif
-       $(RUSTC) --crate-type lib --crate-name raw_dylib_test lib.rs
-       $(RUSTC) --crate-type bin driver.rs -L "$(TMPDIR)"
        "$(TMPDIR)"/driver > "$(TMPDIR)"/actual_output.txt
 
 ifdef RUSTC_BLESS_TEST