Update tests
This commit is contained in:
parent
1b0c0eb717
commit
0b5963023d
@ -1,6 +0,0 @@
|
||||
-include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) foo.rs
|
||||
$(call RUN,foo)
|
||||
rm $(TMPDIR)/$(call DYLIB_GLOB,foo)
|
@ -1,4 +0,0 @@
|
||||
#![crate_type = "dylib"]
|
||||
#![crate_type = "bin"]
|
||||
|
||||
fn main() {}
|
@ -1,6 +1,7 @@
|
||||
-include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) foo-bar.rs
|
||||
$(RUSTC) foo-bar.rs --crate-type bin
|
||||
[ -f $(TMPDIR)/$(call BIN,foo-bar) ]
|
||||
$(RUSTC) foo-bar.rs --crate-type lib
|
||||
[ -f $(TMPDIR)/libfoo_bar.rlib ]
|
||||
|
@ -1,4 +1 @@
|
||||
#![crate_type = "lib"]
|
||||
#![crate_type = "bin"]
|
||||
|
||||
fn main() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user