MSVC targets should use COFF as their archive format While adding support for Arm64EC I ran into an issue where the standard library's rlib was missing the "EC Symbol Table" which is required for the MSVC linker to find import library symbols (generated by Rust's `raw-dylib` feature) when building for EC. The root cause of the issue is that LLVM only generated symbol tables (including the EC Symbol Table) if the `ArchiveKind` is `COFF`, but the MSVC targets didn't set their archive format, so it was defaulting to GNU. |
||
|---|---|---|
| .. | ||
| rpath | ||
| archive.rs | ||
| command.rs | ||
| link.rs | ||
| linker.rs | ||
| lto.rs | ||
| metadata.rs | ||
| mod.rs | ||
| rpath.rs | ||
| symbol_export.rs | ||
| write.rs | ||