aggressive optimisations

Signed-off-by: June <june@girlboss.ceo>
This commit is contained in:
June authored and girlbossceo committed 2023-09-13 21:46:06 -04:00
1 parent 100cae49b6
commit 84338cc827
1 file changed
+9 -3
+9 -3
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