224: Enable optimization in every profile r=Kerollmops a=irevoire



Co-authored-by: Irevoire <tamo@meilisearch.com>
This commit is contained in:
bors[bot] 2021-06-09 09:13:21 +00:00 committed by GitHub
commit 5cf1b0b138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,14 @@
members = ["milli", "http-ui", "benchmarks", "infos", "helpers", "search"] members = ["milli", "http-ui", "benchmarks", "infos", "helpers", "search"]
default-members = ["milli"] default-members = ["milli"]
[profile.dev]
opt-level = 3
[profile.release] [profile.release]
debug = true debug = true
[profile.bench] [profile.test]
debug = true opt-level = 3
# Make sure that the build scripts and proc-macros are compiled with # 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. # all the optimizations. It speeds up the zip crate that we use in the build.rs.