Add a test that rustc compiles and links separately
This commit is contained in:
parent
732afd41cf
commit
e8a564edc0
6
src/test/run-make-fulldeps/separate-link/Makefile
Normal file
6
src/test/run-make-fulldeps/separate-link/Makefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-include ../tools.mk
|
||||||
|
|
||||||
|
all:
|
||||||
|
echo 'fn main(){}' | $(RUSTC) -Z no-link -
|
||||||
|
$(RUSTC) -Z link-only $(TMPDIR)/rust_out.rlink
|
||||||
|
$(call RUN,rust_out)
|
Loading…
Reference in New Issue
Block a user