Skip to content

Commit ff6ef63

Browse files
committed
Auto merge of #12408 - poliorcetics:ab/missed-strip-variable-doc, r=weihanglo
doc: add missing reference to `CARGO_PROFILE_<name>_STRIP` in environment variables docs The doc for the env var was added in b6d1979 but was forgotten in env vars
2 parents 1b3eb29 + ab4a749 commit ff6ef63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/src/reference/environment-variables.md

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ In summary, the supported environment variables are:
123123
* `CARGO_PROFILE_<name>_PANIC` --- The panic strategy to use, see [`profile.<name>.panic`].
124124
* `CARGO_PROFILE_<name>_RPATH` --- The rpath linking option, see [`profile.<name>.rpath`].
125125
* `CARGO_PROFILE_<name>_SPLIT_DEBUGINFO` --- Controls debug file output behavior, see [`profile.<name>.split-debuginfo`].
126+
* `CARGO_PROFILE_<name>_STRIP` --- Controls stripping of symbols and/or debuginfos, see [`profile.<name>.strip`].
126127
* `CARGO_REGISTRIES_<name>_INDEX` --- URL of a registry index, see [`registries.<name>.index`].
127128
* `CARGO_REGISTRIES_<name>_TOKEN` --- Authentication token of a registry, see [`registries.<name>.token`].
128129
* `CARGO_REGISTRY_DEFAULT` --- Default registry for the `--registry` flag, see [`registry.default`].
@@ -185,6 +186,7 @@ In summary, the supported environment variables are:
185186
[`profile.<name>.panic`]: config.md#profilenamepanic
186187
[`profile.<name>.rpath`]: config.md#profilenamerpath
187188
[`profile.<name>.split-debuginfo`]: config.md#profilenamesplit-debuginfo
189+
[`profile.<name>.strip`]: config.md#profilenamestrip
188190
[`registries.<name>.index`]: config.md#registriesnameindex
189191
[`registries.<name>.token`]: config.md#registriesnametoken
190192
[`registry.default`]: config.md#registrydefault

0 commit comments

Comments
 (0)