mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Switch to thin lto for faster compilation
Also, makes the bench and release profile match eachother so that tests built in release mode don't need to recompile everything compared to regular release builds.
This commit is contained in:
parent
22b2ab499e
commit
7a6c2cb2bc
1 changed files with 4 additions and 2 deletions
|
@ -31,8 +31,10 @@ members = [
|
|||
|
||||
# Optimizations based on https://deterministic.space/high-performance-rust.html
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
# debug = true # enable when profiling
|
||||
|
||||
|
||||
[profile.bench]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue