添加构建调试

This commit is contained in:
2025-10-21 14:05:16 +08:00
parent 51a04207ab
commit 040d521395
5 changed files with 78 additions and 25 deletions

7
.vscode/launch.json vendored
View File

@@ -1,4 +1,3 @@
{
"version": "0.2.0",
"configurations": [
@@ -17,7 +16,11 @@
"kind": "bin"
}
},
"args": []
"args": [],
// 添加环境变量解决文件锁问题
"env": {
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse"
},
}
]
}