1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-12 11:14:55 +02:00
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

15 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"
]
}
}
}