Skip to content

Feat: Add Rust toolchain to windows-11-arm #77

Open
@yorickdowne

Description

@yorickdowne

Type of issue

  • Request for additional tools or software for an existing image.

Describe the issue

windows-11-arm runner currently does not come with the Rust toolchain pre-installed

In testing, that environment is supported and something like this can add Rust:

      - name: Install rustup (Windows 11 ARM64)
        shell: pwsh
        run: |
          Invoke-WebRequest -Uri "https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe" -OutFile rustup-init.exe
          .\rustup-init.exe --default-toolchain none -y
          "$env:USERPROFILE\.cargo\bin" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
          "CARGO_HOME=$env:USERPROFILE\.cargo" | Out-File -Append -Encoding ascii $env:GITHUB_ENV
      - name: Install Rust (Windows 11 ARM64)
        shell: pwsh
        run: |
          rustup install stable
          rustup target add aarch64-pc-windows-msvc

Desired functionality

Have a Rust toolchain preinstalled in the windows-11-arm image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions