fix xtask rebuild issue

the inclusion of a custom rustflags in the .cargo/config
causes rust-analyzer in vscode to always trigger a rebuild of
xtask.

add a custom "check" directory for vscode. This grows the
size of the target directory :( but at least we're not
constantly rebuilding xtask.
This commit is contained in:
bunnie 2022-06-19 02:53:37 +08:00
parent 6c28ee9642
commit 2d40c3f1dc

View file

@ -1,4 +1,5 @@
{
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.target":"riscv32imac-unknown-xous-elf",
"rust-analyzer.checkOnSave.extraArgs": ["--target-dir", "./target/check"]
}