]> git.proxmox.com Git - rustc.git/blob - tests/run-make/thumb-none-qemu/Makefile
eea6ca34992895bb53487e306ad2bd0c84f33d02
[rustc.git] / tests / run-make / thumb-none-qemu / Makefile
1 include ../tools.mk
2
3 # only-thumb
4
5 # How to run this
6 # $ ./x.py clean
7 # $ ./x.py test --target thumbv7m-none-eabi tests/run-make
8
9 # For cargo setting
10 export RUSTC := $(RUSTC_ORIGINAL)
11 export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
12 # We need to be outside of 'src' dir in order to run cargo
13 export WORK_DIR := $(TMPDIR)
14 export HERE := $(shell pwd)
15
16 ## clean up unused env variables which might cause harm.
17 unexport RUSTC_LINKER
18 unexport RUSTC_BOOTSTRAP
19 unexport RUST_BUILD_STAGE
20 unexport RUST_TEST_THREADS
21 unexport RUST_TEST_TMPDIR
22 unexport AR
23 unexport CC
24 unexport CXX
25
26 all:
27 bash script.sh