diff options
author | Veetaha <[email protected]> | 2020-08-11 01:12:09 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-08-11 01:12:09 +0100 |
commit | 4f386afb16297f588484ff24e2b4693218893a94 (patch) | |
tree | 53828b0727e1fb77af2b97b9cf5131e390820c29 /editors/code/tests/unit/launch_config.test.ts | |
parent | b050937c1071e68a4ade69375f1f17b703cafb02 (diff) |
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 'editors/code/tests/unit/launch_config.test.ts')
0 files changed, 0 insertions, 0 deletions