Skip to content

feat: support the aarch64-unknown-linux-gnu host toolchain - #85

Merged
Arshia001 merged 1 commit into
mainfrom
feat/aarch64-linux-toolchain
Aug 5, 2026
Merged

feat: support the aarch64-unknown-linux-gnu host toolchain#85
Arshia001 merged 1 commit into
mainfrom
feat/aarch64-linux-toolchain

Conversation

@Arshia001

Copy link
Copy Markdown
Contributor

What

Add aarch64-unknown-linux-gnu to guess_host_target in src/toolchain.rs.

Why

wasix-org/rust has shipped rust-toolchain-aarch64-unknown-linux-gnu.tar.gz since v2026-08-05.1+rust-1.97, but the host table in guess_host_target only ever listed four triples:

x86_64-unknown-linux-gnu, x86_64-apple-darwin,
aarch64-apple-darwin,     x86_64-pc-windows-msvc

On an aarch64 Linux host it therefore returns None, and install_prebuilt_toolchain fails with:

error: The WASIX toolchain is not available for download on this platform.

before it ever looks at the release assets. The asset it needs is right there in the release.

This surfaced in wasmerio/wasmer#6698, where the linux-arm64 CI job runs the WASIX Rust test fixtures: https://github.com/wasmerio/wasmer/actions/runs/31015208374

Notes

No other change is needed — the existing asset lookup builds the name from the triple (rust-toolchain-{target}.tar.gz), which already matches what the release publishes.

I did not bump the version, since that looks like a separate step in this repo. A crates.io release is required before the wasix-org/cargo-wasix GitHub action picks this up, as the action installs by the version in Cargo.toml.

🤖 Generated with Claude Code

wasix-org/rust has published rust-toolchain-aarch64-unknown-linux-gnu
since v2026-08-05.1+rust-1.97, but `guess_host_target` never listed the
triple, so aarch64 Linux hosts bailed out with "The WASIX toolchain is
not available for download on this platform." before looking at the
release assets at all.

Add the arm; the existing asset-name pattern
(rust-toolchain-{target}.tar.gz) already matches what the release ships.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Arshia001
Arshia001 merged commit 82727d6 into main Aug 5, 2026
6 checks passed
@Arshia001
Arshia001 deleted the feat/aarch64-linux-toolchain branch August 5, 2026 14:48
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