{
"version": "2.0.0",
"problemMatcher": {
"owner": "rustc",
"source": "rustc",
"fileLocation": ["autoDetect", "${workspaceFolder}"],
"pattern": [
{
"regexp": "^(warning|warn|error|note)(?:\\[(.*?)\\])?: (.*)$", "severity": 1,
"code": 2,
"message": 3
},
{
"regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
"file": 1,
"line": 2,
"column": 3
}
]
},
"type": "shell",
"presentation": {
"clear": true
},
"tasks": [
{
"label": "build",
"command": "cargo test --all-targets",
"windows": { "command": "scripts\\build" },
"group": { "kind": "build", "isDefault": true },
},
{
"label": "build (thorough)",
"windows": { "command": "scripts\\build-thorough" },
},
{
"label": "check-file",
"command": "cargo +nightly build",
},
{
"label": "help",
"command": "cargo +nightly doc --open",
"windows": { "command": "scripts\\doc --open" },
},
{
"label": "stats",
"command": "scripts/stats.sh",
"windows": { "command": "bash -c 'scripts/stats.sh'" },
},
{
"label": "clippy",
"command": "cargo +nightly clippy",
},
{
"label": "git push github master",
"command": "git push github master",
},
{
"label": "gitk --all",
"command": "gitk --all",
},
{
"label": "cargo build --package ialloc --example alloc-tester",
"command": "cargo build --package ialloc --example alloc-tester",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "cargo build --package ialloc --example alloc-tester --release",
"command": "cargo build --package ialloc --example alloc-tester --release",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "cargo build --package ialloc --example alloc-tester --target=i686-pc-windows-msvc",
"command": "cargo build --package ialloc --example alloc-tester --target=i686-pc-windows-msvc",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "cargo build --package ialloc --example alloc-tester --target=i686-pc-windows-msvc --release",
"command": "cargo build --package ialloc --example alloc-tester --target=i686-pc-windows-msvc --release",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "cargo build --package ialloc --example test-zero-allocs",
"command": "cargo build --package ialloc --example test-zero-allocs",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "cargo build --package ialloc --example test-zero-allocs --release",
"command": "cargo build --package ialloc --example test-zero-allocs --release",
"presentation": { "clear": true, "panel": "shared", "reveal": "always" },
},
{
"label": "open repository",
"windows": { "command": "start \"\" \"https://github.com/MaulingMonkey/ialloc\"" },
"linux": { "command": "xdg-open \"https://github.com/MaulingMonkey/ialloc\"" },
"osx": { "command": "open \"https://github.com/MaulingMonkey/ialloc\"" },
"presentation": { "clear": true, "panel": "shared", "reveal": "silent" },
},
{
"label": "open documentation",
"windows": { "command": "start \"\" \"https://docs.rs/ialloc\"" },
"linux": { "command": "xdg-open \"https://docs.rs/ialloc\"" },
"osx": { "command": "open \"https://docs.rs/ialloc\"" },
"presentation": { "clear": true, "panel": "shared", "reveal": "silent" },
},
]
}