From 49e4539cf556a18ec421d320635c7a6532157bbf Mon Sep 17 00:00:00 2001 From: alexmadeathing Date: Mon, 25 Sep 2023 12:48:31 +0100 Subject: [PATCH] Switch environment variable usage since users may not have RUSTUP_HOME. --- content/learn/book/troubleshooting/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/learn/book/troubleshooting/_index.md b/content/learn/book/troubleshooting/_index.md index c3cf81abc1..721f688b85 100644 --- a/content/learn/book/troubleshooting/_index.md +++ b/content/learn/book/troubleshooting/_index.md @@ -43,7 +43,7 @@ For `cppvsdbg`: Or for `codelldb`: ```json "env": { - "PATH": "${env:RUSTUP_HOME}/toolchains/nightly-x86_64-pc-windows-msvc/bin;${workspaceFolder}/target/debug/deps;${env:PATH}", + "PATH": "${env:USERPROFILE}/.rustup/toolchains/nightly-x86_64-pc-windows-msvc/bin;${workspaceFolder}/target/debug/deps;${env:PATH}", // Switch `nightly` to `stable` if you're using Rust stable -} +}, ```