Rust version in src/main.rs (Cargo project) and a C++ port in cpp/main.cpp using raw pointers, both with VS Code build tasks and gdb-based debug configs. Vendors vscode-debug-visualizer and visualization as submodules for reference while building a custom node-table graph visualizer. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
36 lines
911 B
JSON
36 lines
911 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "cargo build",
|
|
"type": "shell",
|
|
"command": "cargo",
|
|
"args": ["build"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": ["$rustc"]
|
|
},
|
|
{
|
|
"label": "g++ build cpp/main.cpp",
|
|
"type": "cppbuild",
|
|
"command": "/usr/bin/g++",
|
|
"args": [
|
|
"-std=c++17",
|
|
"-g",
|
|
"-Wall",
|
|
"-Wextra",
|
|
"${workspaceFolder}/cpp/main.cpp",
|
|
"-o",
|
|
"${workspaceFolder}/cpp/list_example_cpp"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/cpp"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": ["$gcc"]
|
|
}
|
|
]
|
|
}
|