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:
+2
-2
@@ -17,8 +17,8 @@ serde = "*"
|
|||||||
pacdef_macro = {path = "pacdef_macro/"}
|
pacdef_macro = {path = "pacdef_macro/"}
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = "fat"
|
lto = "off"
|
||||||
codegen-units = 1
|
opt-level = "z"
|
||||||
strip = true
|
strip = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|||||||
Reference in New Issue
Block a user