[build] profile release and release-lto
This commit is contained in:
parent
40bcfe4a13
commit
8f4542159f
16
Cargo.toml
16
Cargo.toml
@ -17,8 +17,18 @@ unwrap_used = "warn"
|
||||
eyre = "0.6"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
debug = false
|
||||
strip = true
|
||||
debug = true
|
||||
debug-assertions = true
|
||||
overflow-checks = true
|
||||
strip = false
|
||||
lto = false
|
||||
panic = "unwind"
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release-lto]
|
||||
inherits = "release"
|
||||
lto = true
|
||||
debug = false
|
||||
debug-assertions = false
|
||||
overflow-checks = false
|
||||
strip = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user