mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Switch to thin LTO; add Cargo profile release-debug
This commit is contained in:
parent
9f8f80a17b
commit
44b50204e2
10 changed files with 16 additions and 15 deletions
13
Cargo.toml
13
Cargo.toml
|
|
@ -40,13 +40,16 @@ aquatic_ws_protocol = { path = "aquatic_ws_protocol" }
|
|||
membarrier = { git = "https://github.com/glommer/membarrier-rs.git", branch = "issue-22" }
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
lto = true
|
||||
debug = false
|
||||
lto = "thin"
|
||||
opt-level = 3
|
||||
|
||||
[profile.test]
|
||||
opt-level = 3
|
||||
inherits = "release-debug"
|
||||
|
||||
[profile.bench]
|
||||
inherits = "release-debug"
|
||||
|
||||
[profile.release-debug]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
opt-level = 3
|
||||
lto = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue