diff --git a/Cargo.toml b/Cargo.toml index 481fb11321..ac68ef15a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,8 @@ overflow-checks = true panic = "abort" [profile.test] -opt-level = 2 +# equivalent of running in `--release` (but since we're in test profile we're keeping overflow checks and all of those by default) +opt-level = 3 [workspace] diff --git a/Makefile b/Makefile index cabf711c99..3d87c659b5 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ clippy-all-wallet: cargo clippy --workspace --manifest-path nym-wallet/Cargo.toml --all-features -- -D warnings test-main: - cargo test --all-features --workspace --release + cargo test --all-features --workspace test-contracts: cargo test --manifest-path contracts/Cargo.toml --all-features