The VS Code rust-analyzer plugin uses cargo check to find
problems. We use custom flags/target info with cargo make.
This adds a cargo make check command that reuses similar
flags to our build so the check results are similar. check_json
is added to be used by tools like VS Code that need JSON
output.
The VS Code
rust-analyzer
plugin usescargo check
to find problems. We use custom flags/target info withcargo make
.This adds a
cargo make check
command that reuses similar flags to our build so the check results are similar.check_json
is added to be used by tools like VS Code that need JSON output.