Skip to content

Commit 2c2898a

Browse files
authored
Unrolled build for rust-lang#128450
Rollup merge of rust-lang#128450 - dpaoliello:coff, r=bjorn3 Create COFF archives for non-LLVM backends `ar_archive_writer` now supports creating COFF archives, so enable them for the non-LLVM backends when requested. r? ``@bjorn3``
2 parents 70591dc + 03357f1 commit 2c2898a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/rustc_codegen_ssa/src/back/archive.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,7 @@ impl<'a> ArArchiveBuilder<'a> {
220220
"gnu" => ArchiveKind::Gnu,
221221
"bsd" => ArchiveKind::Bsd,
222222
"darwin" => ArchiveKind::Darwin,
223-
"coff" => {
224-
// FIXME: ar_archive_writer doesn't support COFF archives yet.
225-
// https://github.com/rust-lang/ar_archive_writer/issues/9
226-
ArchiveKind::Gnu
227-
}
223+
"coff" => ArchiveKind::Coff,
228224
"aix_big" => ArchiveKind::AixBig,
229225
kind => {
230226
self.sess.dcx().emit_fatal(UnknownArchiveKind { kind });

0 commit comments

Comments
 (0)