File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_codegen_gcc/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ impl CodegenBackend for GccCodegenBackend {
215215 // invalid.
216216 // This is the case for instance in Rust for Linux where they specify --sysroot=/dev/null.
217217 for path in sess. opts . sysroot . all_paths ( ) {
218- let libgccjit_target_lib_file = file_path ( path, & sess) ;
218+ let libgccjit_target_lib_file = file_path ( path, sess) ;
219219 if let Ok ( true ) = fs:: exists ( & libgccjit_target_lib_file) {
220220 load_libgccjit_if_needed ( & libgccjit_target_lib_file) ;
221221 break ;
@@ -225,7 +225,7 @@ impl CodegenBackend for GccCodegenBackend {
225225 if !gccjit:: is_loaded ( ) {
226226 let mut paths = vec ! [ ] ;
227227 for path in sess. opts . sysroot . all_paths ( ) {
228- let libgccjit_target_lib_file = file_path ( path, & sess) ;
228+ let libgccjit_target_lib_file = file_path ( path, sess) ;
229229 paths. push ( libgccjit_target_lib_file) ;
230230 }
231231
You can’t perform that action at this time.
0 commit comments