修改vscode 编译配置
This commit is contained in:
parent
991d1e478b
commit
cf5c5286c0
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -8,7 +8,7 @@
|
||||
"program": "${workspaceRoot}/target/debug/${workspaceFolderBasename}",
|
||||
"args": [],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"preLaunchTask":"build",
|
||||
"preLaunchTask":"rust: cargo build",
|
||||
}
|
||||
]
|
||||
}
|
9
.vscode/tasks.json
vendored
9
.vscode/tasks.json
vendored
@ -2,13 +2,16 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "cargo",
|
||||
"command": "build",
|
||||
"type": "process",
|
||||
"command": "cargo",
|
||||
"args": [
|
||||
"build"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build",
|
||||
"label": "build"
|
||||
"label": "rust: cargo build"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user