mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
Add a test that rustc compiles and links separately
This commit is contained in:
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)
|
||||
Reference in New Issue
Block a user