mirror of
https://github.com/sched-ext/scx.git
synced 2024-12-04 08:17:11 +00:00
feat: enable LTO
Enable Link-Time Optimization (LTO) for Rust schedulers. It improves the binary size and allows to a compiler perform more aggressive optimizations. More details in https://github.com/sched-ext/scx/issues/1010
This commit is contained in:
parent
5b57cdf3ad
commit
59ad671520
@ -13,3 +13,6 @@ members = ["rust/scx_stats",
|
||||
"scheds/rust/scx_layered",
|
||||
"scheds/rust/scx_mitosis"]
|
||||
resolver = "2"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
Loading…
Reference in New Issue
Block a user