Add some release binary size optimizations to the root Cargo.toml

Every step library should be stripped and shrinkeydinked as much as possible
This commit is contained in:
R Tyler Croy 2020-10-17 15:30:58 -07:00
parent 132b340419
commit d7c8a1a6f5
1 changed files with 7 additions and 0 deletions

View File

@ -9,3 +9,10 @@ members = [
"osp",
"stdlib/sh",
]
[profile.release]
panic = "abort"
lto = true
codegen-units = 1
incremental = false
opt-level = "z"