Skip to content

Commit cdb0715

Browse files
WebKit ARM64 Builderclaude
andcommitted
Fix variable name conflict with reserved Arch variable
Use $vcpkgArch instead of $arch to avoid conflict with PowerShell's validated Arch variable from Visual Studio environment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 72460c5 commit cdb0715

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows-release.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ if ($UseVcpkg) {
163163
# Create custom triplet if it doesn't exist
164164
$TripletFile = if ($isARM64) { "arm64-windows-static.cmake" } else { "x64-windows-static.cmake" }
165165
if (-not (Test-Path $TripletFile)) {
166-
$arch = if ($isARM64) { "arm64" } else { "x64" }
166+
$vcpkgArch = if ($isARM64) { "arm64" } else { "x64" }
167167
$TripletContent = @"
168-
set(VCPKG_TARGET_ARCHITECTURE $arch)
168+
set(VCPKG_TARGET_ARCHITECTURE $vcpkgArch)
169169
set(VCPKG_CRT_LINKAGE static)
170170
set(VCPKG_LIBRARY_LINKAGE static)
171171
set(VCPKG_CMAKE_SYSTEM_NAME Windows)

0 commit comments

Comments
 (0)