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 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