Skip to content

Commit

Permalink
Switch environment variable usage since users may not have RUSTUP_HOME.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmadeathing committed Sep 25, 2023
1 parent 95560bb commit 49e4539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/learn/book/troubleshooting/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
```

0 comments on commit 49e4539

Please sign in to comment.