feat: support the aarch64-unknown-linux-gnu host toolchain - #85
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
aarch64-unknown-linux-gnutoguess_host_targetinsrc/toolchain.rs.Why
wasix-org/rusthas shippedrust-toolchain-aarch64-unknown-linux-gnu.tar.gzsincev2026-08-05.1+rust-1.97, but the host table inguess_host_targetonly ever listed four triples:On an aarch64 Linux host it therefore returns
None, andinstall_prebuilt_toolchainfails with: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-arm64CI job runs the WASIX Rust test fixtures: https://github.com/wasmerio/wasmer/actions/runs/31015208374Notes
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-wasixGitHub action picks this up, as the action installs by the version inCargo.toml.🤖 Generated with Claude Code