reduce compile time

disabling LTO and optimizing for size cuts compile time almost in half,
but increases the binary size from 2.1 to 2.5 MB.
this tradeoff is worth it.
performance is unaffected
This commit is contained in:
timeshifter
2023-01-14 18:19:53 +01:00
parent 5a844960a8
commit 2b9e82e5a1
+2 -2
View File
@@ -17,8 +17,8 @@ serde = "*"
pacdef_macro = {path = "pacdef_macro/"}
[profile.release]
lto = "fat"
codegen-units = 1
lto = "off"
opt-level = "z"
strip = true
[[bin]]