更新cargo.toml
This commit is contained in:
parent
6d33a8a486
commit
9a87b8c9ff
@ -7,15 +7,15 @@ edition = "2021"
|
|||||||
members = [".", "server", "domain", "i18n","library", "macro"]
|
members = [".", "server", "domain", "i18n","library", "macro"]
|
||||||
|
|
||||||
# https://doc.rust-lang.org/cargo/reference/profiles.html
|
# https://doc.rust-lang.org/cargo/reference/profiles.html
|
||||||
[prifile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
opt-level = "z"
|
opt-level = "z"
|
||||||
|
split-debuginfo = "packed" # Platform-specific.
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 0
|
opt-level = 0
|
||||||
debug = true
|
debug = true
|
||||||
split-debuginfo = '...' # Platform-specific.
|
|
||||||
strip = "none"
|
strip = "none"
|
||||||
debug-assertions = true
|
debug-assertions = true
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
Loading…
Reference in New Issue
Block a user