Skip to content

Commit 0b59630

Browse files
committed
Update tests
1 parent 1b0c0eb commit 0b59630

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

src/test/run-make-fulldeps/libs-and-bins/Makefile

-6
This file was deleted.

src/test/run-make-fulldeps/libs-and-bins/foo.rs

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
-include ../tools.mk
22

33
all:
4-
$(RUSTC) foo-bar.rs
4+
$(RUSTC) foo-bar.rs --crate-type bin
55
[ -f $(TMPDIR)/$(call BIN,foo-bar) ]
6+
$(RUSTC) foo-bar.rs --crate-type lib
67
[ -f $(TMPDIR)/libfoo_bar.rlib ]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#![crate_type = "lib"]
2-
#![crate_type = "bin"]
3-
41
fn main() {}

0 commit comments

Comments
 (0)