From: Matt Corallo Date: Tue, 1 Sep 2020 19:43:33 +0000 (-0400) Subject: Apply -O1 only to tests, not all dev (which is used for bindings) X-Git-Tag: v0.0.12~30^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9e03087d6acbc876a5ad1c9b9d8746bf18d5ca86;p=rust-lightning Apply -O1 only to tests, not all dev (which is used for bindings) --- diff --git a/Cargo.toml b/Cargo.toml index 2ff627e2..551ec358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] # Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it -[profile.dev] +[profile.test] opt-level = 1 [profile.release]