Skip to content

Commit 8ba3510

Browse files
cbeuwjoshtriplett
andauthored
Clarify that not all options are intended to be stabilized
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
1 parent 5286008 commit 8ba3510

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

text/3127-trim-paths.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ This flag accepts a comma-separated list of values and may be specified multiple
102102

103103
Debug information are written to split files when the separate codegen option `-C split-debuginfo=packed` or `unpacked` (whether by default or explicitly set).
104104

105+
Note: this RFC is not a commitment to stabilizing all of these options; stabilization will evaluate each option and see if that option carries enough value to stabilize.
106+
105107
## Cargo
106108

107109
`trim-paths` is a profile setting which enables and controls the sanitisation of file paths in build outputs. It is a simplified version of rustc's `--remap-path-scope`. It takes a comma separated list of the following values:
@@ -112,6 +114,8 @@ Debug information are written to split files when the separate codegen option `-
112114
- `object` - sanitise paths in compiled executables or libraries
113115
- `all` and `true` - sanitise paths in all possible locations
114116

117+
Note: this RFC is not a commitment to stabilizing all of these options; stabilization will evaluate each option and see if that option carries enough value to stabilize.
118+
115119
It is defaulted to `none` for debug profiles, and `object` for release profiles. You can manually override it by specifying this option in `Cargo.toml`:
116120
```toml
117121
[profile.dev]

0 commit comments

Comments
 (0)