Add a test for mainless emit targets
This commit is contained in:
parent
b510b90916
commit
61b4823b77
5
src/test/run-make/empty-file/Makefile
Normal file
5
src/test/run-make/empty-file/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
-include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) --emit=asm,llvm-bc,llvm-ir,obj,dep-info empty.rs
|
||||
$(RUSTC) --emit=link --crate-type=rlib,dylib,staticlib empty.rs
|
0
src/test/run-make/empty-file/empty.rs
Normal file
0
src/test/run-make/empty-file/empty.rs
Normal file
Loading…
Reference in New Issue
Block a user