{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "type": "shell", "label": "cargo build", "command": "cargo build", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] }, { "type": "shell", "label": "cargo build --release", "command": "cargo build --release", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] }, { "type": "shell", "label": "cargo build --example", "command": "cargo build --example ${fileBasenameNoExtension}", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] }, { "type": "shell", "label": "cargo build --example --features stm32f4", "command": "cargo build --example ${fileBasenameNoExtension} --features stm32f4", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] }, { "type": "shell", "label": "cargo build --example --features rtfm", "command": "cargo build --example ${fileBasenameNoExtension} --features rtfm", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] }, { "type": "shell", "label": "cargo build --example --release --features stm32f4", "command": "cargo build --example ${fileBasenameNoExtension} --release --features stm32f4", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [ "$rustc" ] } ] }