Don't run dsymutil on librustc_codegen_cranelift on macOS

This halves clean incremental compilation time
This commit is contained in:
bjorn3 2020-03-07 11:06:24 +01:00
parent b00927b956
commit 576aa76445

View File

@ -4,10 +4,10 @@ set -e
if [[ "$1" == "--release" ]]; then
export CHANNEL='release'
CARGO_INCREMENTAL=1 cargo build --release
CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
else
export CHANNEL='debug'
cargo build
cargo rustc -- -Zrun_dsymutil=no
fi
source config.sh