Skip to content

Commit ae6654f

Browse files
committed
ci: speed up conformance with thin lto (#3773)
1 parent 4b06dc7 commit ae6654f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ck = "check --workspace --all-features --all-targets --locked"
44
lint = "clippy --workspace --all-targets --all-features"
55
codecov = "llvm-cov --workspace --ignore-filename-regex tasks"
6-
coverage = "run -p oxc_coverage --release --"
6+
coverage = "run -p oxc_coverage --profile release-thin --"
77
benchmark = "run -p oxc_benchmark --release --"
88
minsize = "run -p oxc_minsize --release --"
99
rule = "run -p rulegen"

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,8 @@ codegen-units = 1
202202
strip = "symbols" # set to `false` for debug information
203203
debug = false # set to `true` for debug information
204204
panic = "abort" # Let it crash and force ourselves to write safe Rust.
205+
206+
# Faster compile time with thin lto
207+
[profile.release-thin]
208+
inherits = "release"
209+
lto = "thin"

0 commit comments

Comments
 (0)