mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
26e1ce7394
apparently I missed some tests in the last commit. Rather than having dozens of tests use the long version, use the short version in `run-make` and the long version in `run-make-fulldeps` (which is now only three tests)
24 lines
517 B
Makefile
24 lines
517 B
Makefile
include ../tools.mk
|
|
|
|
#only-x86_64-fortanix-unknown-sgx
|
|
|
|
# For cargo setting
|
|
export RUSTC := $(RUSTC_ORIGINAL)
|
|
export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
|
|
# We need to be outside of 'src' dir in order to run cargo
|
|
export WORK_DIR := $(TMPDIR)
|
|
export TEST_DIR := $(shell pwd)
|
|
|
|
## clean up unused env variables which might cause harm.
|
|
unexport RUSTC_LINKER
|
|
unexport RUSTC_BOOTSTRAP
|
|
unexport RUST_BUILD_STAGE
|
|
unexport RUST_TEST_THREADS
|
|
unexport RUST_TEST_TMPDIR
|
|
unexport AR
|
|
unexport CC
|
|
unexport CXX
|
|
|
|
all:
|
|
bash script.sh
|