Skip to content

Commit

Permalink
lto thin
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 14, 2024
1 parent 1952c36 commit fa291d4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ version = "0.0.0"
edition = "2021"
publish = false

[[bin]]
name = "monitor_oxc"
path = "src/main.rs"
test = false
doctest = false

[lib]
test = false
doctest = false

[dependencies]
oxc = { path = "../oxc/crates/oxc", features = ["transformer", "isolated_declarations", "codegen"] }
walkdir = "2.5.0"
Expand All @@ -14,8 +24,8 @@ ureq = "2.9.7"

[profile.release]
opt-level = 3
lto = "fat"
lto = "thin" # Faster compile time as extreme speed is not needed.
codegen-units = 1
strip = "symbols"
debug = false
panic = "abort"
panic = "abort"

0 comments on commit fa291d4

Please sign in to comment.