rustlings/.devcontainer/devcontainer.json
Kyle VanderBeek e424e9f6c7 Add target directory to $PATH
Makes the pre-built command work in the shell right away.
2024-03-09 20:07:51 +00:00

14 lines
308 B
JSON

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