mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
LTO in release mode by default, which is really critical for C libs
This commit is contained in:
parent
76eaa61725
commit
af9d1cf776
1 changed files with 4 additions and 0 deletions
|
@ -9,3 +9,7 @@ members = [
|
|||
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
|
|
Loading…
Add table
Reference in a new issue