修改了devcontainer.json的生命周期钩子
This commit is contained in:
		@@ -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"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user