]> git.proxmox.com Git - rustc.git/blobdiff - tests/run-make/manual-link/Makefile
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / run-make / manual-link / Makefile
diff --git a/tests/run-make/manual-link/Makefile b/tests/run-make/manual-link/Makefile
new file mode 100644 (file)
index 0000000..8dbf046
--- /dev/null
@@ -0,0 +1,7 @@
+# ignore-cross-compile
+include ../tools.mk
+
+all: $(TMPDIR)/libbar.a
+       $(RUSTC) foo.rs -lstatic=bar
+       $(RUSTC) main.rs
+       $(call RUN,main)