mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
433da1fc04
They pass fine.
11 lines
378 B
Makefile
11 lines
378 B
Makefile
include ../tools.mk
|
|
|
|
all:
|
|
[ `$(RUSTC) --print crate-name crate.rs` = "foo" ]
|
|
[ `$(RUSTC) --print file-names crate.rs` = "$(call BIN,foo)" ]
|
|
[ `$(RUSTC) --print file-names --crate-type=lib \
|
|
--test crate.rs` = "$(call BIN,foo)" ]
|
|
[ `$(RUSTC) --print file-names --test lib.rs` = "$(call BIN,mylib)" ]
|
|
$(RUSTC) --print file-names lib.rs
|
|
$(RUSTC) --print file-names rlib.rs
|