aggressive optimisations
Signed-off-by: June <june@girlboss.ceo>
This commit is contained in:
parent
100cae49b6
commit
84338cc827
1 changed files with 9 additions and 3 deletions
12
Cargo.toml
12
Cargo.toml
|
@ -156,14 +156,20 @@ lto = 'off'
|
||||||
incremental = true
|
incremental = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = 'thin'
|
lto = 'fat'
|
||||||
incremental = true
|
incremental = false
|
||||||
codegen-units=32
|
codegen-units=1
|
||||||
|
opt-level = 3
|
||||||
|
overflow-checks = true
|
||||||
|
strip = "symbols"
|
||||||
|
panic = "abort"
|
||||||
# If you want to make flamegraphs, enable debug info:
|
# If you want to make flamegraphs, enable debug info:
|
||||||
# debug = true
|
# debug = true
|
||||||
|
|
||||||
# For releases also try to max optimizations for dependencies:
|
# For releases also try to max optimizations for dependencies:
|
||||||
[profile.release.build-override]
|
[profile.release.build-override]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
codegen-units=1
|
||||||
[profile.release.package."*"]
|
[profile.release.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
codegen-units=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue