Vibe coded prototype.
This commit is contained in:
25
.devcontainer/devcontainer.json
Normal file
25
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "Rust Minimal Dev",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"rust-lang.rust-analyzer",
|
||||
"tamasfe.even-better-toml",
|
||||
"vadimcn.vscode-lldb",
|
||||
"usernamehw.errorlens"
|
||||
]
|
||||
}
|
||||
},
|
||||
"remoteUser": "vscode",
|
||||
"mounts": [
|
||||
"source=rust-target-cache,target=${containerWorkspaceFolder}/target,type=volume"
|
||||
],
|
||||
// This runs every time the container starts to ensure the volume is writable
|
||||
"postStartCommand": "sudo chown vscode:vscode ${containerWorkspaceFolder}/target",
|
||||
"settings": {
|
||||
"rust-analyzer.checkOnSave.command": "clippy"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user