Add an optimised release profile

This commit is contained in:
Blaž Hrastnik 2022-02-25 17:24:20 +09:00
parent 8e07e1b898
commit 66637be700
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

View File

@ -20,3 +20,10 @@ split-debuginfo = "unpacked"
[profile.release]
lto = "thin"
# debug = true
[profile.opt]
inherits = "release"
lto = "fat"
codegen-units = 1
# strip = "debuginfo" # TODO: or strip = true
opt-level = 3