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 6ade516 commit 8cab50bCopy full SHA for 8cab50b
README.md
@@ -44,12 +44,17 @@ $ strip target/release/min-sized-rust
44
```
45
46
Available starting `1.45.0-nightly (2020-05-28)`,
47
-[Cargo has `strip` functionality built in](https://github.com/rust-lang/cargo/pull/8246):
+[Cargo has `strip` functionality built in](https://doc.rust-lang.org/cargo/reference/unstable.html#profile-strip-option):
48
49

50
51
-```bash
52
-$ cargo +nightly build -Z strip=symbols
+Modify `Cargo.toml` in this way:
+
53
+```toml
54
+cargo-features = ["strip"]
55
56
+[profile.release]
57
+strip = true # Automatically strip symbols from the binary.
58
59
60
# Optimize For Size
0 commit comments