Skip to content

Commit 296a179

Browse files
committed
break --subsystem=x into 2 args; closer to former presumably known-good incantation
1 parent 22d0ab0 commit 296a179

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_codegen_llvm/back/linker.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ impl<'a> Linker for GccLinker<'a> {
449449
}
450450

451451
fn subsystem(&mut self, subsystem: &str) {
452-
self.linker_arg(&format!("--subsystem={}", subsystem));
452+
self.linker_arg("--subsystem");
453+
self.linker_arg(&subsystem);
453454
}
454455

455456
fn finalize(&mut self) -> Command {

0 commit comments

Comments
 (0)