fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
379 B10 linesraw
1-include ../tools.mk
2
3all:
4	[ `$(RUSTC) --print crate-name crate.rs` = "foo" ]
5	[ `$(RUSTC) --print file-names crate.rs` = "$(call BIN,foo)" ]
6	[ `$(RUSTC) --print file-names --crate-type=lib \
7		--test crate.rs` = "$(call BIN,foo)" ]
8	[ `$(RUSTC) --print file-names --test lib.rs` = "$(call BIN,mylib)" ]
9	$(RUSTC) --print file-names lib.rs
10	$(RUSTC) --print file-names rlib.rs