Ajout d'un devcontainer
This commit is contained in:
parent
4c70e53e27
commit
6e9f88ab5c
3
.devcontainer/Dockerfile
Executable file
3
.devcontainer/Dockerfile
Executable file
|
@ -0,0 +1,3 @@
|
|||
FROM mcr.microsoft.com/devcontainers/rust:0-1-bullseye
|
||||
|
||||
RUN rustup default nightly
|
14
.devcontainer/devcontainer.json
Executable file
14
.devcontainer/devcontainer.json
Executable file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "Rust",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"rust-analyzer.check.command": "clippy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue