|
|
|
|
|
by mcqueenjordan
858 days ago
|
|
Another thing just to mention here is `strip`, which IIRC `cargo build --release` doesn't do by default. I think `stripping` binaries can reduce binary size by up to 80-85% in some cases (but certainly not all; just tried it locally on a 1M rust binary and got 40% reduction). FWIW, you can configure this in Cargo.toml: [profile.release]
strip = true |
|
That change will be live on 21st March, so manual strips won't be required after that.