Add target directory to $PATH

Makes the pre-built command work in the shell right away.
This commit is contained in:
Kyle VanderBeek 2024-03-09 20:07:51 +00:00
parent 11f0fd7fd9
commit e424e9f6c7

View file

@ -1,6 +1,9 @@
{ {
"image": "mcr.microsoft.com/devcontainers/rust:1", "image": "mcr.microsoft.com/devcontainers/rust:1",
"updateContentCommand": "cargo build", "updateContentCommand": "cargo build",
"remoteEnv": {
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/target/debug"
},
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [