We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1521c commit 3a26f23Copy full SHA for 3a26f23
README.md
@@ -49,6 +49,17 @@ Available starting `1.45.0-nightly (2020-05-28)`,
49
$ cargo +nightly build -Z strip=symbols
50
```
51
52
+# Compress the binary
53
+
54
+[`uxp`](https://github.com/upx/upx) is a powerful tool for creating a self contained, compressed binary with no addition
55
+runtime requirements. It claims to typically reduce file size by 50-70% but the actual result depends on your
56
+executable. For our example we see a respectable 23% reduction.
57
58
+```bash
59
+$ uxp --best --lzma target/release/min-sized-rust
60
+```
61
62
63
# Optimize For Size
64
65

0 commit comments