Skip to content

Commit

Permalink
Auto merge of rust-lang#8262 - alexcrichton:unstable-docs, r=ehuss
Browse files Browse the repository at this point in the history
Document unstable `strip` profile feature
  • Loading branch information
bors committed May 20, 2020
2 parents d18e4b3 + 3bb63af commit cf00ee1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,3 +766,22 @@ The following is a description of the JSON structure:
"roots": [0],
}
```

### Profile `strip` option
* Tracking Issue: [rust-lang/rust#72110](https://github.com/rust-lang/rust/issues/72110)

This feature provides a new option in the `[profile]` section to strip either
symbols or debuginfo from a binary. This can be enabled like so:

```toml
cargo-features = ["strip"]

[package]
# ...

[profile.release]
strip = "debuginfo"
```

Other possible values of `strip` are `none` and `symbols`. The default is
`none`.

0 comments on commit cf00ee1

Please sign in to comment.