From c7f0c6fa4cb81aaefdbee14fc159fd98581c3c58 Mon Sep 17 00:00:00 2001 From: Aliaksandr <42497203+AlexCannonball@users.noreply.github.com> Date: Mon, 20 Jul 2026 17:50:02 +0000 Subject: [PATCH] chore(devcontainer): fix rustup overlayfs errors and tasks race condition --- .devcontainer/devcontainer.json | 3 +++ .vscode/tasks.json | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e25a187..5ecbc54 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,6 +12,9 @@ "components": " " // Disable default components so that the ones from rust-toolchain.toml are respected } }, + "containerEnv": { + "RUSTUP_PERMIT_COPY_RENAME": "true" + }, "mounts": [ { "source": "devcontainer-cargo-cache-${devcontainerId}", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index fde7a00..395677c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -5,8 +5,8 @@ "icon": { "id": "package" }, - "type": "cargo", - "command": "build", + "type": "shell", + "command": "cargo build", "problemMatcher": [ "$rustc" ], @@ -28,8 +28,8 @@ "icon": { "id": "check-all" }, - "type": "cargo", - "command": "clippy", + "type": "shell", + "command": "cargo clippy --all-targets", "problemMatcher": [ "$rustc" ], @@ -48,8 +48,8 @@ "icon": { "id": "beaker" }, - "type": "cargo", - "command": "test", + "type": "shell", + "command": "cargo test", "problemMatcher": [ "$rustc" ],