LTO fix and toml cleanup (#608)

* Removes redundant entries from Cargo.toml

This also fixes a compilation problem we have in debug mode with LTO
enabled.

* fix output-path triple dash
This commit is contained in:
kaczmarczyck
2023-04-04 13:40:42 +02:00
committed by GitHub
parent 6d5ea16f2d
commit 80b82ffd42
4 changed files with 1 additions and 35 deletions

View File

@@ -38,13 +38,3 @@ enum-iterator = "0.6.0"
sk-cbor = { path = "../cbor" }
uuid = { version = "0.8", features = ["v4"] }
openssl = "0.10.36"
[profile.dev]
panic = "abort"
lto = true # Link Time Optimization usually reduces size of binaries and static libraries
[profile.release]
panic = "abort"
lto = true # Link Time Optimization usually reduces size of binaries and static libraries
opt-level = "z"
codegen-units = 1