Add an optimised release profile
commit66637be700f3c50f2d00a7445bc1be52e1115f54
authorBlaž Hrastnik <blaz@mxxn.io>
dateFri 25 Feb 2022, 17:24 (5 years ago)
parent8e07e1b
Cargo.toml+7
@@ -20,3 +20,10 @@ split-debuginfo = "unpacked"
2020[profile.release]
2121lto = "thin"
2222# debug = true
23+
24+[profile.opt]
25+inherits = "release"
26+lto = "fat"
27+codegen-units = 1
28+# strip = "debuginfo" # TODO: or strip = true
29+opt-level = 3