Skip to content

Commit ba1126a

Browse files
humendaatopia
authored andcommitted
correctly parse environment variables for l4-bender (linker)
1 parent abb201b commit ba1126a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,10 +1441,10 @@ impl<'a> L4Bender<'a> {
14411441
'"' | '\'' => quoted = !quoted,
14421442
_ => arg.push(character),
14431443
};
1444-
if arg.len() > 0 {
1445-
cmd.arg(&arg);
1446-
arg.clear();
1447-
}
1444+
}
1445+
if arg.len() > 0 {
1446+
cmd.arg(&arg);
1447+
arg.clear();
14481448
}
14491449
}
14501450

0 commit comments

Comments
 (0)