Skip to content

Commit 321cc83

Browse files
authored
Embedded: enable *-unknown-windows-coff tripels in Platform.cpp (#72217)
This allows the frontend to proceed when building with `-target i686-unknown-windows-coff -enable-experimental-feature Embedded` arguments.
1 parent 761812a commit 321cc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Basic/Platform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
225225
case llvm::Triple::Itanium:
226226
return "windows";
227227
default:
228-
llvm_unreachable("unsupported Windows environment");
228+
return "none";
229229
}
230230
case llvm::Triple::PS4:
231231
return "ps4";

0 commit comments

Comments
 (0)