projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76eaa61
)
LTO in release mode by default, which is really critical for C libs
author
Matt Corallo
<git@bluematt.me>
Sat, 16 May 2020 01:27:51 +0000
(21:27 -0400)
committer
Matt Corallo
<git@bluematt.me>
Fri, 11 Sep 2020 02:03:32 +0000
(22:03 -0400)
Cargo.toml
patch
|
blob
|
history
diff --git
a/Cargo.toml
b/Cargo.toml
index 511682e281871d4ffa57209c4f698c4ddab7427b..2ff627e28199012db91c8c07e994ae2eb6769ecd 100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-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