Files
quick-log/.devcontainer/devcontainer.json
2026-04-04 18:53:07 +00:00

25 lines
659 B
JSON

{
"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"
}
}