Skip to content

Commit f770180

Browse files
authored
Merge pull request #17 from ind-igo/windows-arm64
Add Windows ARM64 support
2 parents 1689678 + 66ec0a5 commit f770180

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: dtolnay/rust-toolchain@stable
1717
- uses: Swatinem/rust-cache@v2
1818
- name: Install grammars
19-
run: cargo run -- lang add rust typescript python go c cpp java ruby lua zig bash solidity elixir
19+
run: cargo run -- lang add rust typescript python go c cpp java ruby lua zig bash solidity elixir swift dart
2020
- run: cargo test
2121

2222
clippy:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
os: macos-latest
2525
- target: x86_64-pc-windows-msvc
2626
os: windows-latest
27+
- target: aarch64-pc-windows-msvc
28+
os: windows-latest
2729
runs-on: ${{ matrix.os }}
2830
steps:
2931
- uses: actions/checkout@v4

install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ $InstallDir = "$env:LOCALAPPDATA\cx\bin"
99
$Arch = [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture
1010
switch ($Arch) {
1111
'X64' { $Target = "x86_64-pc-windows-msvc" }
12+
'Arm64' { $Target = "aarch64-pc-windows-msvc" }
1213
default { Write-Error "Unsupported architecture: $Arch"; exit 1 }
1314
}
1415

0 commit comments

Comments
 (0)