Add custom profile release-opt
This commit is contained in:
parent
e187d6ce7b
commit
8f03a72742
1 changed files with 10 additions and 0 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -121,3 +121,13 @@ iced_wgpu = { version = "0.5", path = "wgpu", features = ["webgl"], optional = t
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
features = ["image", "svg", "canvas", "qr_code", "pure"]
|
features = ["image", "svg", "canvas", "qr_code", "pure"]
|
||||||
|
|
||||||
|
[profile.release-opt]
|
||||||
|
inherits = "release"
|
||||||
|
codegen-units = 1
|
||||||
|
debug = false
|
||||||
|
lto = true
|
||||||
|
incremental = false
|
||||||
|
opt-level = 3
|
||||||
|
overflow-checks = false
|
||||||
|
strip = "debuginfo"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue