We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ece9fa commit bcb0862Copy full SHA for bcb0862
Cargo.toml
@@ -46,6 +46,9 @@ opt-level = 3
46
# Disabling optimizations for cg_clif itself makes compilation after a change faster.
47
opt-level = 0
48
49
+[profile.release.package.rustc_codegen_cranelift]
50
+incremental = true
51
+
52
# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
53
# execution time of build scripts is so fast that optimizing them slows down the total build time.
54
[profile.dev.build-override]
test.sh
@@ -4,7 +4,7 @@ set -e
4
# Build cg_clif
5
if [[ "$1" == "--release" ]]; then
6
export CHANNEL='release'
7
- CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
+ cargo rustc --release -- -Zrun_dsymutil=no
8
else
9
export CHANNEL='debug'
10
cargo rustc -- -Zrun_dsymutil=no
0 commit comments