about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorVeetaha <veetaha2@gmail.com>2020-08-11 03:12:09 +0300
committerVeetaha <veetaha2@gmail.com>2020-08-11 03:12:09 +0300
commit4f386afb16297f588484ff24e2b4693218893a94 (patch)
tree53828b0727e1fb77af2b97b9cf5131e390820c29 /docs/dev/debugging.md
parentb050937c1071e68a4ade69375f1f17b703cafb02 (diff)
downloadrust-4f386afb16297f588484ff24e2b4693218893a94.tar.gz
rust-4f386afb16297f588484ff24e2b4693218893a94.zip
Log the command flycheck runs to debug misconfigurations
Without this users have no clue why flycheck fails to run.
This is what is printed to the output channel:
```
[ERROR rust_analyzer::main_loop] cargo check failed: Cargo watcher failed,the command produced no valid metadata (exit code: ExitStatus(ExitStatus(25856)))
```

I stumbled with this figuring out that rust-analyzer adds `--all-features` which is not intended
for some crates in the workspace (e.g. they have mutually-exclusive features.
Having the command rust-analyzer ran should help a lot
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions