Switch to thin LTO; add Cargo profile release-debug

This commit is contained in:
Joakim Frostegård 2022-04-04 12:32:42 +02:00
parent 9f8f80a17b
commit 44b50204e2
10 changed files with 16 additions and 15 deletions

View file

@ -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