mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
perf(bin): compile binary as a single code unit and use fat LTO (#191)
Fixes #185 > Release + codegen-units = 1: 11 Mib Release + Thin LTO (current default): 14 Mib Release + Fat LTO: 11 Mib Release + codegen-units = 1 + Fat LTO: 9.7 Mib Release + codegen-units = 1 + Thin LTO: 11 Mib
This commit is contained in:
parent
53afed28ee
commit
b552657926
@ -117,7 +117,8 @@ debug = true
|
||||
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
lto = "fat"
|
||||
|
||||
[profile.deb]
|
||||
inherits = "release"
|
||||
|
Loading…
x
Reference in New Issue
Block a user