forked from flycheck/flycheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed flycheck-rust-manifest-directory to use 'cargo metadata'
This commit fixes flycheck#1397. By the recent change of cargo(rust-lang/cargo#4788), flycheck can't detect the error file. So I changed to use 'workspace_root' in 'cargo metadata's outputs, as working directory. If the user's cargo is a bit old and there's no 'workspace_root', flycheck-rust-manifest-directory search a directory with 'Cargo.toml', as ever.
- Loading branch information
Showing
1 changed file
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters