Skip to content

Commit a62e96b

Browse files
committed
Move test profile to crate root, so it has effect again
1 parent c1349e8 commit a62e96b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ members = [
44
"lightning",
55
"lightning-net-tokio",
66
]
7+
8+
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it
9+
[profile.dev]
10+
opt-level = 1

lightning/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,3 @@ features = ["bitcoinconsensus"]
3333
[dev-dependencies]
3434
hex = "0.3"
3535
rand = "0.4"
36-
37-
[profile.dev]
38-
opt-level = 1

0 commit comments

Comments
 (0)