Skip to content

Commit e950a04

Browse files
committed
fix: prefer non-msvc version of llvm for Win64
1 parent 5f8524e commit e950a04

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/llvm/llvm_url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ async function getAssetKeywords(platform: string, arch: string) {
8383

8484
switch (platform) {
8585
case "win32": {
86-
optionalKeywords.push("windows", "Windows")
8786
if (x86_64.includes(arch)) {
8887
optionalKeywords.push("win64", "x86_64", "X64")
8988
// TODO fallback to win32 if win64 is not available (e.g. for LLVM 3.6.2 and older)
@@ -95,6 +94,7 @@ async function getAssetKeywords(platform: string, arch: string) {
9594
info(`Using arch ${arch} for LLVM`)
9695
keywords.push(arch)
9796
}
97+
optionalKeywords.push("windows", "Windows")
9898
break
9999
}
100100
case "linux": {

0 commit comments

Comments
 (0)