fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.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