From 9e567793783ec93f3024cc032b88f6e3938d2c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Tue, 15 Jul 2025 13:10:08 +0000 Subject: [PATCH] fix devcontainer --- .devcontainer/devcontainer.json | 9 +++++++-- .vscode/tasks.json | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 771e242..b1d66ae 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -19,10 +19,15 @@ "packages": "cargo-llvm-cov,cargo-edit" }, "ghcr.io/devcontainers-extra/features/apt-get-packages:1": { - "packages": "git-flow, musl-tools" + "packages": "git-flow,musl-tools" } }, + "overrideFeatureInstallOrder": [ + "ghcr.io/devcontainers/features/rust", + "ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall" + ], + // cargo cache persistence "mounts": [ { @@ -36,7 +41,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "rustup target install x86_64-unknown-linux-musl | :", + "postCreateCommand": "sudo chown -R \"${USER}:rustlang\" \"${RUSTUP_HOME}\" \"${CARGO_HOME}\"", // Configure tool-specific properties. "customizations": { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 736a7da..99412a0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -129,7 +129,7 @@ // "Run Integration Tests", "Run Coverage", ], - "dependsOrder": "sequence", + "dependsOrder": "parallel", "group": "test" }, { @@ -140,7 +140,6 @@ "--incompatible", "-vv" ], - "problemMatcher": "$rustc", "group": "none" } ],