fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
368 B11 linesraw
1-include ../tools.mk
2
3# Issue #10814
4#
5# these are no_std to avoid having to have the standard library or any
6# linkers/assemblers for the relevant platform
7
8all:
9	$(RUSTC) foo.rs --target=i686-unknown-linux-gnu
10	$(RUSTC) bar.rs --target=x86_64-unknown-linux-gnu 2>&1 \
11		| $(CGREP) 'couldn'"'"'t find crate `foo` with expected target triple x86_64-unknown-linux-gnu'