From bd37903e6cdc689bccc9d1fa1580f86024443afe Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 12 Jun 2022 22:31:29 +0000 Subject: [PATCH] devcontainer stuff --- .devcontainer/devcontainer.json | 20 ++++++++++++++++++++ .devcontainer/setup.sh | 1 + 2 files changed, 21 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..1c696b4 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Rust on Arch", + "build": { + "dockerfile": "Dockerfile" + }, + "settings": { + "lldb.executable": "/usr/bin/lldb", + "files.watcherExclude": { + "**/target/**": true + } + }, + "extensions": [ + "rust-lang.rust", + "bungcip.better-toml", + "vadimcn.vscode-lldb", + "mutantndino.resourcemonitor" + ], + "forwardPorts": [], + "postCreateCommand": "rustc --version" +} \ No newline at end of file diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index c63b2e7..8a24869 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -4,6 +4,7 @@ pacman -S --noconfirm \ curl \ git \ base-devel \ + lldb \ rustup rustup install nightly