Skip to content

Commit e8a564e

Browse files
author
Victor Ding
committed
Add a test that rustc compiles and links separately
1 parent 732afd4 commit e8a564e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-include ../tools.mk
2+
3+
all:
4+
echo 'fn main(){}' | $(RUSTC) -Z no-link -
5+
$(RUSTC) -Z link-only $(TMPDIR)/rust_out.rlink
6+
$(call RUN,rust_out)

0 commit comments

Comments
 (0)