diff --git a/src/doc/src/reference/environment-variables.md b/src/doc/src/reference/environment-variables.md index 08eb162ef8b..8b66d5cc5d5 100644 --- a/src/doc/src/reference/environment-variables.md +++ b/src/doc/src/reference/environment-variables.md @@ -24,11 +24,11 @@ system: specified wrapper instead, passing as its commandline arguments the rustc invocation, with the first argument being `rustc`. Useful to set up a build cache tool such as `sccache`. See [`build.rustc-wrapper`] to set via config. -* `RUSTC_WORKSPACE_WRAPPER` — Instead of simply running `rustc`, Cargo will +* `RUSTC_WORKSPACE_WRAPPER` — Instead of simply running `rustc`, Cargo will execute this specified wrapper instead for workspace members only, passing - as its commandline arguments the rustc invocation, with the first argument - being `rustc`. It affects the filename hash so that artifacts produced by - the wrapper are cached separately. See [`build.rustc-workspace-wrapper`] + as its commandline arguments the rustc invocation, with the first argument + being `rustc`. It affects the filename hash so that artifacts produced by + the wrapper are cached separately. See [`build.rustc-workspace-wrapper`] to set via config. * `RUSTDOC` — Instead of running `rustdoc`, Cargo will execute this specified `rustdoc` instance instead. See [`build.rustdoc`] to set via config. @@ -100,6 +100,7 @@ supported environment variables are: * `CARGO_PROFILE__OPT_LEVEL` — Set the optimization level, see [`profile..opt-level`]. * `CARGO_PROFILE__PANIC` — The panic strategy to use, see [`profile..panic`]. * `CARGO_PROFILE__RPATH` — The rpath linking option, see [`profile..rpath`]. +* `CARGO_PROFILE__SPLIT_DEBUGINFO` — Controls debug file output behavior, see [`profile..split-debuginfo`]. * `CARGO_REGISTRIES__INDEX` — URL of a registry index, see [`registries..index`]. * `CARGO_REGISTRIES__TOKEN` — Authentication token of a registry, see [`registries..token`]. * `CARGO_REGISTRY_DEFAULT` — Default registry for the `--registry` flag, see [`registry.default`]. @@ -159,6 +160,7 @@ supported environment variables are: [`profile..opt-level`]: config.md#profilenameopt-level [`profile..panic`]: config.md#profilenamepanic [`profile..rpath`]: config.md#profilenamerpath +[`profile..split-debuginfo`]: config.md#profilenamesplit-debuginfo [`registries..index`]: config.md#registriesnameindex [`registries..token`]: config.md#registriesnametoken [`registry.default`]: config.md#registrydefault