blob: 35ae4accb2724bd308f66268a6eb3d36f3f86c16 (
plain)
1
2
3
4
5
6
7
8
9
10
|
-include ../tools.mk
all:
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.9" ]
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
[ `$(RUSTC) --crate-file-name --lib --test crate.rs` = "foo" ]
[ `$(RUSTC) --crate-file-name --test lib.rs` = "mylib" ]
$(RUSTC) --crate-file-name lib.rs
$(RUSTC) --crate-file-name rlib.rs
|