修改了devcontainer.json的生命周期钩子

This commit is contained in:
2025-10-26 14:56:11 +00:00
parent b8ce918291
commit 3383e71a9d

View File

@@ -1,9 +1,6 @@
{
"name": "Rust",
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
"postStartCommand": "cargo build && clear",
"customizations": {
"vscode": {
"settings": {},
@@ -44,11 +41,14 @@
}
},
"forwardPorts": [8080],
"portsAttributes": {
"8080": {
"label": "Rust Application",
"onAutoForward": "notify"
}
}
},
"postAttachCommand": "cargo build && clear"
}