Don't run dsymutil on librustc_codegen_cranelift on macOS
This halves clean incremental compilation time
This commit is contained in:
parent
b00927b956
commit
576aa76445
1 changed files with 2 additions and 2 deletions
4
test.sh
4
test.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue