This commit is contained in:
2020-10-30 14:43:36 -06:00
commit bdde7140ed
5 changed files with 66 additions and 0 deletions

48
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,48 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'unsafe-code'",
"cargo": {
"args": [
"build",
"--bin=unsafe-code",
"--package=unsafe-code"
],
"filter": {
"name": "unsafe-code",
"kind": "bin"
}
},
"args": [
// "user_arg1",
// "user_arg2"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'unsafe-code'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=unsafe-code",
"--package=unsafe-code"
],
"filter": {
"name": "unsafe-code",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}