mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
imp: let users decide on codegen units and LTO
This commit is contained in:
parent
a7e87d619c
commit
0f4096b3d4
1 changed files with 7 additions and 7 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -82,13 +82,13 @@ debug = [] # Enables debug messages
|
||||||
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
|
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
|
||||||
doc = ["yaml"] # All the features which add to documentation
|
doc = ["yaml"] # All the features which add to documentation
|
||||||
|
|
||||||
[profile.release]
|
# [profile.release]
|
||||||
opt-level = 3
|
# opt-level = 3
|
||||||
debug = false
|
# debug = false
|
||||||
rpath = false
|
# rpath = false
|
||||||
lto = true
|
# lto = true
|
||||||
debug-assertions = false
|
# debug-assertions = false
|
||||||
codegen-units = 1
|
# codegen-units = 1
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 0
|
opt-level = 0
|
||||||
|
|
Loading…
Reference in a new issue