forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
27 lines (27 loc) · 1.11 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// See
//
// - https://code.visualstudio.com/docs/remote/containers
// - https://code.visualstudio.com/docs/remote/devcontainerjson-reference
{
// Do not modify manually. This value is automatically updated by ./scripts/docker_build .
"image": "sha256:3ff688de7071c92700eb08462d846f92847f2a8ef33cb20638e52ae4133473c4",
"extensions": [
"bazelbuild.vscode-bazel",
"bodil.prettier-toml",
"bungcip.better-toml",
"esbenp.prettier-vscode",
"matklad.rust-analyzer",
"xaver.clang-format"
],
"settings": {
// Use the `rust-analyzer` binary installed in the Docker image.
"rust-analyzer.serverPath": "rust-analyzer",
// Ensure protobuf generated files are loaded correctly.
"rust-analyzer.cargo.loadOutDirsFromCheck": true
},
// Ensure that the workspace is mounted consistently with the `/docker_run` script.
// See https://code.visualstudio.com/docs/remote/containers-advanced#_changing-the-default-source-code-mount.
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated",
"workspaceFolder": "/workspace",
"containerUser": "docker"
}