Skip to content

Commit

Permalink
Merge pull request rust-lang#218 from NobodyXu/optimize
Browse files Browse the repository at this point in the history
Use `opt-level = "z"` for release
  • Loading branch information
NobodyXu authored Jul 20, 2022
2 parents 3a30e87 + 6324f9a commit 9d6ed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ mimalloc = ["dep:mimalloc"]
env_logger = "0.9.0"

[profile.release]
opt-level = "s"
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
Expand Down

0 comments on commit 9d6ed81

Please sign in to comment.