| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b696e56 commit 72dc495
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + FROM mcr.microsoft.com/vscode/devcontainers/rust:1-bullseye | ||
| 2 | + | ||
| 3 | + # Install clang | ||
| 4 | + RUN apt-get update \ | ||
| 5 | + && apt-get install -y clang \ | ||
| 6 | + && rm -rf /var/lib/apt/lists/* | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,25 @@ | |||
| 1 | 1 | { | |
| 2 | - "image": "mcr.microsoft.com/devcontainers/base:jammy", | ||
| 3 | - "onCreateCommand": "curl https://sh.rustup.rs -sSf | sh -s -- -y" | ||
| 4 | - } | ||
| 2 | + "name": "Rust", | ||
| 3 | + "build": { | ||
| 4 | + "dockerfile": "Dockerfile" | ||
| 5 | + }, | ||
| 6 | + "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"], | ||
| 7 | + "customizations": { | ||
| 8 | + "vscode": { | ||
| 9 | + "settings": { | ||
| 10 | + "lldb.executable": "/usr/bin/lldb", | ||
| 11 | + // VS Code don't watch files under ./target | ||
| 12 | + "files.watcherExclude": { | ||
| 13 | + "**/target/**": true | ||
| 14 | + }, | ||
| 15 | + "extensions": [ | ||
| 16 | + "rust-lang.rust-analyzer", | ||
| 17 | + "tamasfe.even-better-toml", | ||
| 18 | + "vadimcn.vscode-lldb", | ||
| 19 | + "mutantdino.resourcemonitor" | ||
| 20 | + ] | ||
| 21 | + } | ||
| 22 | + } | ||
| 23 | + }, | ||
| 24 | + "remoteUser": "vscode" | ||
| 25 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments