Skip to content

Commit 75b00ba

Browse files
Update README for Rust 1.59 strip feature (#34)
1 parent f81d8ba commit 75b00ba

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ $ cargo build --release
3131

3232
![OS: *nix](https://img.shields.io/badge/OS-*nix-brightgreen.svg)
3333

34-
> Note: Looking for a tool to help automated `strip`ing? Check out
35-
[`cargo-strip`](https://github.com/guedou/cargo-strip) or follow
36-
[Cargo #3483](https://github.com/rust-lang/cargo/issues/3483).
37-
38-
> See also: [`sstrip`](https://github.com/BR903/ELFkickers) a small utility that removes a few
39-
bytes from an executable that strip leaves behind. `sstrip` should be run after `strip`.
40-
4134
By default on Linux and macOS, symbol information is included in the compiled `.elf` file. This
4235
information is not needed to properly execute the binary.
4336
To remove this, run [`strip`](https://linux.die.net/man/1/strip) on the `.elf` file:
@@ -46,16 +39,13 @@ To remove this, run [`strip`](https://linux.die.net/man/1/strip) on the `.elf` f
4639
$ strip target/release/min-sized-rust
4740
```
4841

49-
Available starting `1.45.0-nightly (2020-05-28)`,
50-
[Cargo has `strip` functionality built in](https://doc.rust-lang.org/cargo/reference/unstable.html#profile-strip-option):
42+
[Cargo has `strip` functionality built in](https://doc.rust-lang.org/cargo/reference/profiles.html#strip):
5143

52-
![Minimum Rust: Nightly](https://img.shields.io/badge/Minimum%20Rust%20Version-nightly%201.45.0-orange.svg)
44+
![Minimum Rust: 1.59](https://img.shields.io/badge/Minimum%20Rust%20Version-1.59-brightgreen.svg)
5345

5446
Modify `Cargo.toml` in this way:
5547

5648
```toml
57-
cargo-features = ["strip"]
58-
5949
[profile.release]
6050
strip = true # Automatically strip symbols from the binary.
6151
```

0 commit comments

Comments
 (0)