mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Create COFF archives for non-LLVM backends
This commit is contained in:
parent
eb10639928
commit
03357f12f8
@ -224,11 +224,7 @@ impl<'a> ArArchiveBuilder<'a> {
|
|||||||
"gnu" => ArchiveKind::Gnu,
|
"gnu" => ArchiveKind::Gnu,
|
||||||
"bsd" => ArchiveKind::Bsd,
|
"bsd" => ArchiveKind::Bsd,
|
||||||
"darwin" => ArchiveKind::Darwin,
|
"darwin" => ArchiveKind::Darwin,
|
||||||
"coff" => {
|
"coff" => ArchiveKind::Coff,
|
||||||
// FIXME: ar_archive_writer doesn't support COFF archives yet.
|
|
||||||
// https://github.com/rust-lang/ar_archive_writer/issues/9
|
|
||||||
ArchiveKind::Gnu
|
|
||||||
}
|
|
||||||
"aix_big" => ArchiveKind::AixBig,
|
"aix_big" => ArchiveKind::AixBig,
|
||||||
kind => {
|
kind => {
|
||||||
self.sess.dcx().emit_fatal(UnknownArchiveKind { kind });
|
self.sess.dcx().emit_fatal(UnknownArchiveKind { kind });
|
||||||
|
Loading…
Reference in New Issue
Block a user