Skip to content

Support aarch64-pc-windows-msvc#8

Open
xzfc wants to merge 1 commit intoextractions:trunkfrom
xzfc:aarch64-pc-windows-msvc
Open

Support aarch64-pc-windows-msvc#8
xzfc wants to merge 1 commit intoextractions:trunkfrom
xzfc:aarch64-pc-windows-msvc

Conversation

@xzfc
Copy link

@xzfc xzfc commented Mar 10, 2026

Problem

extractions/setup-just@v3.1.0 (which uses extractions/setup-crate@v1.4.0) fails on windows-11-arm runners (doc) with the following error:

Run extractions/setup-just@v3
  with:
    github-token: ***
  env:
    CARGO_HOME: C:\Users\runneradmin\.cargo
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
Run extractions/setup-crate@4993624604c307fbca528d28a3c8b60fa5ecc859
  with:
    repo: casey/just
    github-token: ***
  env:
    CARGO_HOME: C:\Users\runneradmin\.cargo
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
Error: failed to determine any valid targets; arch = arm64, platform = win32

Solution

Add aarch64-pc-windows-msvc.


I've checked it on my setup-just fork, see:
xzfc/setup-just@fb4bb12
https://github.com/xzfc/setup-just/actions/runs/22922344000


GitHub UI don't provide convenient diff in minified dist/index.js, so here is a prettified diff between 4993624 (your repo) and ea8194c (my PR):

$ zsh -c '
    diff \
      =(git show 49936246:dist/index.js | npx prettier --parser babel) \
      =(git show ea8194c6:dist/index.js | npx prettier --parser babel)'
22699a22700,22701
>           } else if (A == "win32") {
>             return ["aarch64-pc-windows-msvc"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant