Skip to content

Instantly share code, notes, and snippets.

@deviousasti
Last active February 23, 2020 09:55
Show Gist options
  • Save deviousasti/c38d2dd4f0e5c81891dd9bd1f9f8d189 to your computer and use it in GitHub Desktop.
Save deviousasti/c38d2dd4f0e5c81891dd9bd1f9f8d189 to your computer and use it in GitHub Desktop.
Rust Setup For VSCode
{
// 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": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"preLaunchTask": "cargo build",
"program": "${workspaceFolder}/target/debug/executable.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "cargo build",
"type": "shell",
"command": "cargo build",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
},
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment