|
|
|
|
|
by pveierland
366 days ago
|
|
Building in release: cargo build --release
du -sh ./target/release/lstr -> 4.4M
Building with other release options brings it down to 2.3M: [profile.release]
codegen-units = 1
opt-level = "s"
lto = true
panic = "abort"
strip = "symbols"
|
|
I'll try with `panic = "abort"` for our next release, thanks for the reminder.