mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
Merge #218
218: Enable optimization for build.rs and macro r=Kerollmops a=irevoire It fasten the unzip of the benchmark’s dataset a lot Co-authored-by: Irevoire <tamo@meilisearch.com>
This commit is contained in:
commit
32cf5a29ce
1 changed files with 11 additions and 0 deletions
11
Cargo.toml
11
Cargo.toml
|
@ -7,3 +7,14 @@ debug = true
|
|||
|
||||
[profile.bench]
|
||||
debug = true
|
||||
|
||||
# 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.
|
||||
[profile.dev.build-override]
|
||||
opt-level = 3
|
||||
[profile.release.build-override]
|
||||
opt-level = 3
|
||||
[profile.bench.build-override]
|
||||
opt-level = 3
|
||||
[profile.test.build-override]
|
||||
opt-level = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue