]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Apply -O1 only to tests, not all dev (which is used for bindings)
authorMatt Corallo <git@bluematt.me>
Tue, 1 Sep 2020 19:43:33 +0000 (15:43 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 11 Sep 2020 02:03:32 +0000 (22:03 -0400)
Cargo.toml

index 2ff627e28199012db91c8c07e994ae2eb6769ecd..551ec358e15e62fc68abc93eddad8c1f30c9cc51 100644 (file)
@@ -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]