Add a test for mainless emit targets
This commit is contained in:
parent
b510b90916
commit
61b4823b77
2 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue