mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 18:03:02 +03:00
chore: Enable full LTO (#2548)
Per conversation with Antonio, I've suggested enabling full LTO; right
now we use a crate-local ThinLTO, which does not inline function calls
across crates.
| Configuration | Current main (788f97e
) | Thin LTO | Full LTO |
|------------------|------------------------|-----------|-----------|
| Size in bytes | 158806721 | 155868753 | 111115553 |
| % of `main` size | 100% | 98.14% | 69.96% |
| Size in bytes (no debug info) | 129186657 | 127942929 | 108281345 |
This commit is contained in:
parent
17560cc5b0
commit
572c59eec4
@ -116,3 +116,4 @@ split-debuginfo = "unpacked"
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
lto = "thin"
|
||||||
|
Loading…
Reference in New Issue
Block a user