From 86b916b008bdebd5e649353275604d174bdaa57c Mon Sep 17 00:00:00 2001 From: Irevoire Date: Tue, 8 Jun 2021 11:59:44 +0200 Subject: [PATCH] enable optimization in every profile --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 868199d8a..c0fa64635 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,11 +2,14 @@ members = ["milli", "http-ui", "benchmarks", "infos", "helpers", "search"] default-members = ["milli"] +[profile.dev] +opt-level = 3 + [profile.release] debug = true -[profile.bench] -debug = true +[profile.test] +opt-level = 3 # Make sure that the build scripts and proc-macros are compiled with # all the optimizations. It speeds up the zip crate that we use in the build.rs.