fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1include ../tools.mk 2 3#only-x86_64-fortanix-unknown-sgx 4 5# For cargo setting 6export RUSTC := $(RUSTC_ORIGINAL) 7export LD_LIBRARY_PATH := $(HOST_RPATH_DIR) 8# We need to be outside of 'src' dir in order to run cargo 9export WORK_DIR := $(TMPDIR) 10export TEST_DIR := $(shell pwd) 11 12## clean up unused env variables which might cause harm. 13unexport RUSTC_LINKER 14unexport RUSTC_BOOTSTRAP 15unexport RUST_BUILD_STAGE 16unexport RUST_TEST_THREADS 17unexport RUST_TEST_TMPDIR 18unexport AR 19unexport CC 20unexport CXX 21 22all: 23 bash script.sh