Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ jobs:
if: matrix.settings.target == 'aarch64-pc-windows-msvc'
with:
arch: x64_arm64
- name: Configure ARM64 linker
if: matrix.settings.target == 'aarch64-pc-windows-msvc'
shell: pwsh
run: |
$linker = Join-Path $env:VCToolsInstallDir 'bin\Hostx64\arm64\link.exe'
$lib = Join-Path $env:VCToolsInstallDir 'bin\Hostx64\arm64\lib.exe'
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_LINKER=$linker" | Out-File -FilePath $env:GITHUB_ENV -Append
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_AR=$lib" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Ensure Rust target
if: matrix.settings.target == 'aarch64-pc-windows-msvc'
run: rustup target add aarch64-pc-windows-msvc
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/windows-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64_arm64
- name: Configure ARM64 linker
shell: pwsh
run: |
$linker = Join-Path $env:VCToolsInstallDir 'bin\Hostx64\arm64\link.exe'
$lib = Join-Path $env:VCToolsInstallDir 'bin\Hostx64\arm64\lib.exe'
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_LINKER=$linker" | Out-File -FilePath $env:GITHUB_ENV -Append
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_AR=$lib" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Ensure Rust target
run: rustup target add aarch64-pc-windows-msvc
shell: bash
Expand Down
Loading