Skip to content

Commit bc67f5a

Browse files
authored
Setup rust in Devcontainer (microsoft#221301)
Add Rust feature to devcontainer
1 parent d033657 commit bc67f5a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.devcontainer/devcontainer-lock.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"version": "1.0.8",
55
"resolved": "ghcr.io/devcontainers/features/desktop-lite@sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7",
66
"integrity": "sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7"
7+
},
8+
"ghcr.io/devcontainers/features/rust:1": {
9+
"version": "1.1.3",
10+
"resolved": "ghcr.io/devcontainers/features/rust@sha256:aba6f47303b197976902bf544c786b5efecc03c238ff593583e5e74dfa9c7ccb",
11+
"integrity": "sha256:aba6f47303b197976902bf544c786b5efecc03c238ff593583e5e74dfa9c7ccb"
712
}
813
}
914
}

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"dockerfile": "Dockerfile"
55
},
66
"features": {
7-
"ghcr.io/devcontainers/features/desktop-lite:1": {}
7+
"ghcr.io/devcontainers/features/desktop-lite:1": {},
8+
"ghcr.io/devcontainers/features/rust:1": {}
89
},
910
"containerEnv": {
1011
"DISPLAY": "" // Allow the Dev Containers extension to set DISPLAY, post-create.sh will add it back in ~/.bashrc and ~/.zshrc if not set.

0 commit comments

Comments
 (0)