.vscode/tasks.json
{
"version": "0.1.0",
"_runner": "terminal",
"tasks": [
{
"taskName": "build",
"command": "node",
"args": [
"${workspaceRoot}/bin/wa-compile",
"-O",
"-m", "main",
"-o", "tests/simple/test.wasm",
"tests/simple/test.c"
],
"isShellCommand": true,
"isBuildCommand": true,
"showOutput": "always"
}
]
}