Skip to content

Commit

Permalink
Embedded: enable *-unknown-windows-coff tripels in Platform.cpp (#…
Browse files Browse the repository at this point in the history
…72217)

This allows the frontend to proceed when building with `-target i686-unknown-windows-coff -enable-experimental-feature Embedded` arguments.
  • Loading branch information
MaxDesiatov committed Mar 11, 2024
1 parent 761812a commit 321cc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Basic/Platform.cpp
Expand Up @@ -225,7 +225,7 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
case llvm::Triple::Itanium:
return "windows";
default:
llvm_unreachable("unsupported Windows environment");
return "none";
}
case llvm::Triple::PS4:
return "ps4";
Expand Down

0 comments on commit 321cc83

Please sign in to comment.