Skip to content

Commit

Permalink
add dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Mar 24, 2023
1 parent 08b35d3 commit d36c816
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "My Rust Project",
"image": "ubuntu:20.04",
"forwardPorts": [],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": ["rust-lang.rust"],
"remoteUser": "root",
"postCreateCommand": [
"apt update",
"apt-get install -y --no-install-recommends libelf1 libelf-dev zlib1g-dev make clang llvm",
"wget -nv -O - https://sh.rustup.rs | sh -s -- -y",
"source $HOME/.cargo/env",
"rustup default stable"
],
"build": {
"command": "make build"
}
}

0 comments on commit d36c816

Please sign in to comment.