blob: b849b71d2074c7ae4c337467ebf47642359e3ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
-include ../tools.mk
all:
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.10" ]
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
[ `$(RUSTC) --crate-file-name --crate-type=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
|