From 5baa7c2d62c3b4c9131f842af3ca5073005aa46e Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Sat, 18 Nov 2023 23:46:43 +0100 Subject: [PATCH] fix(installation): cargo path in devcontainer commands --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": {