fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1-include ../../run-make-fulldeps/tools.mk 2 3# only-thumbv7m-none-eabi 4# only-thumbv6m-none-eabi 5 6# How to run this 7# $ ./x.py clean 8# $ ./x.py test --target thumbv7m-none-eabi src/test/run-make 9 10# For cargo setting 11export RUSTC := $(RUSTC_ORIGINAL) 12export LD_LIBRARY_PATH := $(HOST_RPATH_DIR) 13# We need to be outside of 'src' dir in order to run cargo 14export WORK_DIR := $(TMPDIR) 15export HERE := $(shell pwd) 16 17## clean up unused env variables which might cause harm. 18unexport RUSTC_LINKER 19unexport RUSTC_BOOTSTRAP 20unexport RUST_BUILD_STAGE 21unexport RUST_TEST_THREADS 22unexport RUST_TEST_TMPDIR 23unexport AR 24unexport CC 25unexport CXX 26 27all: 28 bash script.sh