fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1-include ../../run-make-fulldeps/tools.mk 2 3# only-thumb 4 5# How to run this 6# $ ./x.py clean 7# $ ./x.py test --target thumbv7m-none-eabi src/test/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