fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
587 B27 linesraw
1include ../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
10export RUSTC := $(RUSTC_ORIGINAL)
11export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
12# We need to be outside of 'src' dir in order to run cargo
13export WORK_DIR := $(TMPDIR)
14export HERE := $(shell pwd)
15
16## clean up unused env variables which might cause harm.
17unexport RUSTC_LINKER
18unexport RUSTC_BOOTSTRAP
19unexport RUST_BUILD_STAGE
20unexport RUST_TEST_THREADS
21unexport RUST_TEST_TMPDIR
22unexport AR
23unexport CC
24unexport CXX
25
26all:
27	bash script.sh