]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/mismatching-target-triples/Makefile
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / run-make-fulldeps / mismatching-target-triples / Makefile
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
8 all:
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'