Skip to content

Commit f8cb939

Browse files
committed
Auto merge of #9456 - ehuss:env-split-debuginfo, r=alexcrichton
Add CARGO_PROFILE_<name>_SPLIT_DEBUGINFO to env docs. I forgot this needed to be updated.
2 parents 1228f49 + 93f3746 commit f8cb939

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ system:
2424
specified wrapper instead, passing as its commandline arguments the rustc
2525
invocation, with the first argument being `rustc`. Useful to set up a build
2626
cache tool such as `sccache`. See [`build.rustc-wrapper`] to set via config.
27-
* `RUSTC_WORKSPACE_WRAPPER` — Instead of simply running `rustc`, Cargo will
27+
* `RUSTC_WORKSPACE_WRAPPER` — Instead of simply running `rustc`, Cargo will
2828
execute this specified wrapper instead for workspace members only, passing
29-
as its commandline arguments the rustc invocation, with the first argument
30-
being `rustc`. It affects the filename hash so that artifacts produced by
31-
the wrapper are cached separately. See [`build.rustc-workspace-wrapper`]
29+
as its commandline arguments the rustc invocation, with the first argument
30+
being `rustc`. It affects the filename hash so that artifacts produced by
31+
the wrapper are cached separately. See [`build.rustc-workspace-wrapper`]
3232
to set via config.
3333
* `RUSTDOC` — Instead of running `rustdoc`, Cargo will execute this specified
3434
`rustdoc` instance instead. See [`build.rustdoc`] to set via config.
@@ -100,6 +100,7 @@ supported environment variables are:
100100
* `CARGO_PROFILE_<name>_OPT_LEVEL` — Set the optimization level, see [`profile.<name>.opt-level`].
101101
* `CARGO_PROFILE_<name>_PANIC` — The panic strategy to use, see [`profile.<name>.panic`].
102102
* `CARGO_PROFILE_<name>_RPATH` — The rpath linking option, see [`profile.<name>.rpath`].
103+
* `CARGO_PROFILE_<name>_SPLIT_DEBUGINFO` — Controls debug file output behavior, see [`profile.<name>.split-debuginfo`].
103104
* `CARGO_REGISTRIES_<name>_INDEX` — URL of a registry index, see [`registries.<name>.index`].
104105
* `CARGO_REGISTRIES_<name>_TOKEN` — Authentication token of a registry, see [`registries.<name>.token`].
105106
* `CARGO_REGISTRY_DEFAULT` — Default registry for the `--registry` flag, see [`registry.default`].
@@ -159,6 +160,7 @@ supported environment variables are:
159160
[`profile.<name>.opt-level`]: config.md#profilenameopt-level
160161
[`profile.<name>.panic`]: config.md#profilenamepanic
161162
[`profile.<name>.rpath`]: config.md#profilenamerpath
163+
[`profile.<name>.split-debuginfo`]: config.md#profilenamesplit-debuginfo
162164
[`registries.<name>.index`]: config.md#registriesnameindex
163165
[`registries.<name>.token`]: config.md#registriesnametoken
164166
[`registry.default`]: config.md#registrydefault

0 commit comments

Comments
 (0)