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

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

No files matched your search

+1 -1
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,