1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-06 11:16:05 +02:00

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