diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e1b2cec1..7f3b78d9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,10 +2,10 @@ "image": "mcr.microsoft.com/devcontainers/universal:2-linux", "waitFor": "onCreateCommand", "onCreateCommand": ".devcontainer/setup.sh", - "updateContentCommand": "cargo build", + "updateContentCommand": ". $HOME/.cargo/env && cargo build", "postCreateCommand": "", "postAttachCommand": { - "server": "rustlings watch" + "server": ". $HOME/.cargo/env && rustlings watch" }, "customizations": { "vscode": {