From 9e03087d6acbc876a5ad1c9b9d8746bf18d5ca86 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 1 Sep 2020 15:43:33 -0400 Subject: [PATCH] Apply -O1 only to tests, not all dev (which is used for bindings) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2ff627e2..551ec358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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] -- 2.30.2