]> git.proxmox.com Git - rustc.git/blobdiff - tests/run-make/static-extern-type/Makefile
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / run-make / static-extern-type / Makefile
diff --git a/tests/run-make/static-extern-type/Makefile b/tests/run-make/static-extern-type/Makefile
new file mode 100644 (file)
index 0000000..7789715
--- /dev/null
@@ -0,0 +1,6 @@
+# ignore-cross-compile
+include ../tools.mk
+
+all: $(call NATIVE_STATICLIB,define-foo)
+       $(RUSTC) -ldefine-foo use-foo.rs
+       $(call RUN,use-foo) || exit 1