aggressive optimisations

Signed-off-by: June <june@girlboss.ceo>
This commit is contained in:
June 2023-08-05 13:30:52 -10:00 committed by girlbossceo
parent 100cae49b6
commit 84338cc827

View file

@ -156,14 +156,20 @@ lto = 'off'
incremental = true
[profile.release]
lto = 'thin'
incremental = true
codegen-units=32
lto = 'fat'
incremental = false
codegen-units=1
opt-level = 3
overflow-checks = true
strip = "symbols"
panic = "abort"
# If you want to make flamegraphs, enable debug info:
# debug = true
# For releases also try to max optimizations for dependencies:
[profile.release.build-override]
opt-level = 3
codegen-units=1
[profile.release.package."*"]
opt-level = 3
codegen-units=1