Apply -O1 only to tests, not all dev (which is used for bindings)
[rust-lightning] / 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]