don't optimise when testing

This commit is contained in:
Lynne Megido 2021-07-21 21:18:29 +10:00
parent 44a0351884
commit 863954b2a2
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
2 changed files with 0 additions and 6 deletions

2
Cargo.lock generated
View file

@ -1,7 +1,5 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3
[[package]] [[package]]
name = "arrayvec" name = "arrayvec"
version = "0.5.2" version = "0.5.2"

View file

@ -69,10 +69,6 @@ rand = "0.8.3"
[profile.release] [profile.release]
lto = "thin" lto = "thin"
# perform some simple optimisations when testing
[profile.test]
opt-level = 1
# optimise dependencies, even when producing debug and test builds # optimise dependencies, even when producing debug and test builds
[profile.dev.package."*"] [profile.dev.package."*"]
opt-level = 3 opt-level = 3