Skip to content

Commit 50785b5

Browse files
authored
Merge pull request swiftlang#71203 from apple/maxd/embedded-x86-windows-triples
Add `i686-pc-windows-coff`/`x86_64-pc-windows-coff` embedded triples
2 parents dfdbe45 + 670e8a8 commit 50785b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
194194
list(APPEND EMBEDDED_STDLIB_TARGET_TRIPLES
195195
"i686 i686-unknown-none-elf i686-unknown-none-elf"
196196
"x86_64 x86_64-unknown-none-elf x86_64-unknown-none-elf"
197+
# Without specifying the `windows` component LLVM refuses to
198+
# generate valid COFF object files.
199+
"i686 i686-unknown-windows-coff i686-unknown-windows-coff"
200+
"x86_64 x86_64-unknown-windows-coff x86_64-unknown-windows-coff"
197201
)
198202
endif()
199203

0 commit comments

Comments
 (0)