Skip to content

Commit d70ae9b

Browse files
authored
Rollup merge of #75603 - mati865:mingw-out-implib-compat, r=oli-obk
Use more compatible out-implib style When calling `rust-lld` directly it accepts only `--out-implib {}` or `--out-implib={}` not `--out-implib,{}`.
2 parents d6ff46c + 1627ba1 commit d70ae9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_codegen_ssa/back/linker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl<'a> GccLinker<'a> {
266266
if let Some(implib_name) = implib_name {
267267
let implib = out_filename.parent().map(|dir| dir.join(&implib_name));
268268
if let Some(implib) = implib {
269-
self.linker_arg(&format!("--out-implib,{}", (*implib).to_str().unwrap()));
269+
self.linker_arg(&format!("--out-implib={}", (*implib).to_str().unwrap()));
270270
}
271271
}
272272
}

0 commit comments

Comments
 (0)