mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-16 23:43:01 +00:00
edbf34cf00
Lets you set the DEFMT_LOG env variable more easily even with VS Code is auto-building the code.
27 lines
670 B
JSON
27 lines
670 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build Rust (Debug)",
|
|
"type": "shell",
|
|
"command": "cargo build",
|
|
"options": {
|
|
"env": {
|
|
"DEFMT_LOG": "debug",
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Build Rust (Warn)",
|
|
"type": "shell",
|
|
"command": "cargo build",
|
|
"options": {
|
|
"env": {
|
|
"DEFMT_LOG": "warn",
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |