Fix 4086 - use stable command options for rustc (#4087)

This commit is contained in:
Horacio Sanson
2022-02-20 00:01:06 +09:00
committed by GitHub
parent 47470eddc2
commit 5b1044e2ad
3 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
" Author: Daniel Schemala <istjanichtzufassen@gmail.com>
" Description: rustc for rust files
call ale#Set('rust_rustc_options', '-Z no-codegen')
call ale#Set('rust_rustc_options', '--emit=mir -o /dev/null')
function! ale_linters#rust#rustc#RustcCommand(buffer) abort
" Try to guess the library search path. If the project is managed by cargo,