summary refs log tree commit diff
path: root/src/test/run-make/mismatching-target-triples/Makefile
blob: e79abf822337cb1cb8dabbb9feaa327819b47875 (plain)
1
2
3
4
5
6
7
8
9
10
11
-include ../tools.mk

# Issue #10814
#
# these are no_std to avoid having to have the standard library or any
# linkers/assemblers for the relevant platform

all:
	$(RUSTC) foo.rs --target=i686-unknown-linux-gnu
	$(RUSTC) bar.rs --target=x86_64-unknown-linux-gnu 2>&1 \
		| grep "couldn't find crate .foo. with expected target triple x86_64-unknown-linux-gnu"