File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ opt-level = 3
4646# Disabling optimizations for cg_clif itself makes compilation after a change faster.
4747opt-level = 0
4848
49+ [profile .release .package .rustc_codegen_cranelift ]
50+ incremental = true
51+
4952# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
5053# execution time of build scripts is so fast that optimizing them slows down the total build time.
5154[profile .dev .build-override ]
Original file line number Diff line number Diff line change 44# Build cg_clif
55if [[ " $1 " == " --release" ]]; then
66 export CHANNEL=' release'
7- CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
7+ cargo rustc --release -- -Zrun_dsymutil=no
88else
99 export CHANNEL=' debug'
1010 cargo rustc -- -Zrun_dsymutil=no
You can’t perform that action at this time.
0 commit comments