Merge pull request #603 from 64kramsystem/strip_via_rust_toolchain
Strip release binary via Rust toolchain
This commit is contained in:
commit
4a536d0008
@ -131,10 +131,9 @@ osx_minimum_system_version = "10.14"
|
||||
resources = ["mac-tray.png"]
|
||||
|
||||
#https://github.com/johnthagen/min-sized-rust
|
||||
#!!! rembember call "strip target/release/rustdesk"
|
||||
# which reduce binary size a lot
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = 'abort'
|
||||
strip = true
|
||||
#opt-level = 'z' # only have smaller size after strip
|
||||
|
Loading…
Reference in New Issue
Block a user