on master help sign in
Add an optimised release profile
66637beBlaž Hrastnik
Cargo.toml+7
@@ -20,3 +20,10 @@ split-debuginfo = "unpacked"
20[profile.release]
20[profile.release]
21lto = "thin"
21lto = "thin"
22# debug = true
22# 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