Skip to content

Commit

Permalink
test: Optimize sha2 even in debug builds
Browse files Browse the repository at this point in the history
This makes the tests finish on my machine twice as fast. This works
mainly because some tests utilize pbkdf2 to derive a key from a
passphrase.
  • Loading branch information
poljar committed Jul 8, 2022
1 parent 9539cbc commit 47cfac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ lto = true
# Optimize quote even in debug mode. Speeds up proc-macros enough to account
# for the extra time of optimizing it for a clean build of matrix-sdk-ffi.
quote = { opt-level = 2 }
sha2 = { opt-level = 2 }

0 comments on commit 47cfac7

Please sign in to comment.