From c93f7385e3601b4216f3f2e1a99ce7a77ba2e072 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:06:08 +0100 Subject: [PATCH] Automated documentation update [skip ci] (#29) Co-authored-by: github-actions[bot] --- src/rust/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/README.md b/src/rust/README.md index 4173d6d..c8deade 100644 --- a/src/rust/README.md +++ b/src/rust/README.md @@ -62,11 +62,11 @@ This Development Container Feature installs [Rust](https://www.rust-lang.org/) v | `CARGO_TARGET_DIR` | Directory that Cargo uses to place binaries & build artifacts | `${containerWorkspaceFolder}/target` | No | | `PATH` | Extend `PATH` to include `rustup`, `cargo`, `rustc`, etc. | `/usr/rust/cargo/home/bin:${PATH}` | No | -> [!Important] +> [!IMPORTANT] > > You may need to overwrite the environment variables marked with "Yes" in the "Needs Overwrite" column. The new values should be locations that are persisted across container restarts. You most likely want to overwrite these variables when you work with different toolchains at the same time and having them side-by-side is desired. > -> You can define these variables in `containerEnv` in your `devcontainer.json` file. Good defaults are: `RUSTUP_HOME: "${containerWorkspaceFolder}/.rust/rustup_home"` and `"CARGO_HOME": "${containerWorkspaceFolder}/.rust/cargo_home"`. +> You should define these variables in `containerEnv` and additionally in `remoteEnv` in your `devcontainer.json` file. Good defaults are: `RUSTUP_HOME: "${containerWorkspaceFolder}/.rust/rustup_home"` and `"CARGO_HOME": "${containerWorkspaceFolder}/.rust/cargo_home"`. > [!NOTE] >