mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 00:20:13 +08:00
Fix rust linting with cargo when multiple targets are present
This commit is contained in:
1 parent
744d7d789f
commit
0143eb6a53
2 files changed
+10
-2
No files matched your search
@@ -15,7 +15,7 @@ endfunction
|
||||
call ale#linter#Define('rust', {
|
||||
\ 'name': 'cargo',
|
||||
\ 'executable_callback': 'ale_linters#rust#cargo#GetCargoExecutable',
|
||||
\ 'command': 'cargo rustc -- --error-format=json -Z no-trans',
|
||||
\ 'command': 'cargo build --message-format=json -q',
|
||||
\ 'callback': 'ale_linters#rust#rustc#HandleRustcErrors',
|
||||
\ 'output_stream': 'stderr',
|
||||
\ 'output_stream': 'stdout',
|
||||
\})
|
||||
Reference in new issue
Block a user