mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Reduce the weight of the produced binary
Optimise for weight at the expense of compile time, speed and we strip debuging elements Signed-off-by: Soapydev <alexandre.beauchamp.thibault@gmail.com>
This commit is contained in:
parent
7f15324117
commit
8e8f31e2e6
11
Cargo.toml
11
Cargo.toml
|
@ -18,3 +18,14 @@ tempdir = "0.3.7"
|
|||
[[bin]]
|
||||
name = "linutil"
|
||||
path = "src/main.rs"
|
||||
|
||||
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
debug = false
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = true
|
||||
incremental = false
|
Loading…
Reference in New Issue
Block a user