添加构建调试
This commit is contained in:
		
							
								
								
									
										7
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,3 @@
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
    "version": "0.2.0",
 | 
			
		||||
    "configurations": [
 | 
			
		||||
@@ -17,7 +16,11 @@
 | 
			
		||||
                    "kind": "bin"
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            "args": []
 | 
			
		||||
            "args": [],
 | 
			
		||||
            // 添加环境变量解决文件锁问题
 | 
			
		||||
            "env": {
 | 
			
		||||
                "CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse"
 | 
			
		||||
            },
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										25
									
								
								.vscode/task.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.vscode/task.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
{
 | 
			
		||||
    "version": "2.0.0",
 | 
			
		||||
    "tasks": [
 | 
			
		||||
        {
 | 
			
		||||
            "label": "cargo-clean-build",
 | 
			
		||||
            "type": "process",
 | 
			
		||||
            "command": "cargo",
 | 
			
		||||
            "args": [
 | 
			
		||||
                "build",
 | 
			
		||||
                "--bin=hello_remote_world",
 | 
			
		||||
                "--package=hello_remote_world"
 | 
			
		||||
            ],
 | 
			
		||||
            "group": "build",
 | 
			
		||||
            "problemMatcher": ["$rustc"],
 | 
			
		||||
            "presentation": {
 | 
			
		||||
                "echo": true,
 | 
			
		||||
                "reveal": "always",
 | 
			
		||||
                "focus": false,
 | 
			
		||||
                "panel": "shared",
 | 
			
		||||
                "showReuseMessage": true,
 | 
			
		||||
                "clear": false
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user