mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-19 20:37:04 +08:00
Fix #1684: Use the correct flag name in rustc linter
The rust compiler renamed the option '-Z no-trans' to '-Z no-codegen'. https://github.com/rust-lang/rust-enhanced/issues/281
This commit is contained in:
1 parent
1e6b1d9be2
commit
db003a4361
3 files changed
+5
-5
No files matched your search
@@ -1,7 +1,7 @@
|
||||
" Author: Daniel Schemala <istjanichtzufassen@gmail.com>
|
||||
" Description: rustc for rust files
|
||||
|
||||
call ale#Set('rust_rustc_options', '-Z no-trans')
|
||||
call ale#Set('rust_rustc_options', '-Z no-codegen')
|
||||
|
||||
function! ale_linters#rust#rustc#RustcCommand(buffer) abort
|
||||
" Try to guess the library search path. If the project is managed by cargo,
|
||||
|
||||
Reference in new issue
Block a user