Skip to content

Commit f4a35d3

Browse files
author
rookwood101
committed
Use correct command-line options to rustc
fixes issue: https://github.com/oschwald/SublimeLinter-contrib- rustc/issues/9
1 parent 9f79bf9 commit f4a35d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Rust(Linter):
2323
'use-crate-root': False,
2424
'crate-root': None,
2525
}
26-
cmd = ('rustc', '--no-trans')
26+
cmd = ('rustc', '-Z no-trans')
2727
syntax = 'rust'
2828
tempfile_suffix = 'rs'
2929

0 commit comments

Comments
 (0)