mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01:00
Set opt-level to 0 for debug builds
But speed up compile times by optimising build dependencies of lindera
This commit is contained in:
parent
55d889522b
commit
5cfb5df31e
24
Cargo.toml
24
Cargo.toml
@ -4,19 +4,29 @@ members = ["milli", "filter-parser", "flatten-serde-json", "json-depth-checker",
|
|||||||
default-members = ["milli"]
|
default-members = ["milli"]
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 3
|
opt-level = 0
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
||||||
# Make sure that the build scripts and proc-macros are compiled with
|
[profile.dev.package.lindera-ipadic-builder]
|
||||||
# all the optimizations. It speeds up the zip crate that we use in the build.rs.
|
|
||||||
[profile.dev.build-override]
|
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
[profile.release.build-override]
|
[profile.dev.package.encoding]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
[profile.bench.build-override]
|
[profile.dev.package.yada]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
[profile.test.build-override]
|
|
||||||
|
[profile.release.package.lindera-ipadic-builder]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.release.package.encoding]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.release.package.yada]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.bench.package.lindera-ipadic-builder]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.bench.package.encoding]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.bench.package.yada]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user