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
46
46
# Disabling optimizations for cg_clif itself makes compilation after a change faster.
47
47
opt-level = 0
48
48
49
+ [profile .release .package .rustc_codegen_cranelift ]
50
+ incremental = true
51
+
49
52
# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
50
53
# execution time of build scripts is so fast that optimizing them slows down the total build time.
51
54
[profile .dev .build-override ]
Original file line number Diff line number Diff line change 4
4
# Build cg_clif
5
5
if [[ " $1 " == " --release" ]]; then
6
6
export CHANNEL=' release'
7
- CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
7
+ cargo rustc --release -- -Zrun_dsymutil=no
8
8
else
9
9
export CHANNEL=' debug'
10
10
cargo rustc -- -Zrun_dsymutil=no
You can’t perform that action at this time.
0 commit comments