Add a test for mainless emit targets

This commit is contained in:
Simonas Kazlauskas 2015-02-08 10:51:46 +02:00
parent b510b90916
commit 61b4823b77
2 changed files with 5 additions and 0 deletions

View 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

View File