From 4a8bb164c678ad6bc98ad7360bf04cd7c336840b Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 19 Aug 2019 16:24:57 +0200 Subject: [PATCH] Don't pass -Zalways-encode-mir to rustc --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 9bfff744a66..43280c09141 100644 --- a/config.sh +++ b/config.sh @@ -12,7 +12,7 @@ fi TARGET_TRIPLE=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ") -export RUSTFLAGS='-Zalways-encode-mir -Cpanic=abort -Cdebuginfo=2 -Zcodegen-backend='$(pwd)'/target/'$CHANNEL'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$(pwd)'/build_sysroot/sysroot' +export RUSTFLAGS='-Cpanic=abort -Cdebuginfo=2 -Zcodegen-backend='$(pwd)'/target/'$CHANNEL'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$(pwd)'/build_sysroot/sysroot' RUSTC="rustc $RUSTFLAGS -L crate=target/out --out-dir target/out" export RUSTC_LOG=warn # display metadata load errors