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.
2 parents d18e4b3 + 3bb63af commit cf00ee1Copy full SHA for cf00ee1
src/doc/src/reference/unstable.md
@@ -766,3 +766,22 @@ The following is a description of the JSON structure:
766
"roots": [0],
767
}
768
```
769
+
770
+### Profile `strip` option
771
+* Tracking Issue: [rust-lang/rust#72110](https://github.com/rust-lang/rust/issues/72110)
772
773
+This feature provides a new option in the `[profile]` section to strip either
774
+symbols or debuginfo from a binary. This can be enabled like so:
775
776
+```toml
777
+cargo-features = ["strip"]
778
779
+[package]
780
+# ...
781
782
+[profile.release]
783
+strip = "debuginfo"
784
+```
785
786
+Other possible values of `strip` are `none` and `symbols`. The default is
787
+`none`.
0 commit comments