feat: support devcontainer

Add devcontainer support to use the development environment directly via vscode or codespaces.

Signed-off-by: cndoit18 <cndoit18@outlook.com>
This commit is contained in:
cndoit18 2024-01-16 00:47:04 +08:00
parent 74b250adcb
commit 3d48ce4c00
4 changed files with 44 additions and 18 deletions

View file

@ -1,5 +1,6 @@
[toolchain]
profile = "minimal"
# use the nightly version of the last stable toolchain, see <https://forge.rust-lang.org/>
channel = "nightly-2023-10-09"
channel = "nightly-2024-01-18"
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
targets = ["riscv64gc-unknown-none-elf"]