Skip to content

miri dependency not available on Linux ARM64 #4332

Open
@0xg0nz0

Description

@0xg0nz0

Verification

Problem

I am getting this error:

error: some components are unavailable for download for channel '1.86.0': 'miri' for target 'aarch64-unknown-linux-gnu', 'rustc-codegen-cranelift' for target 'aarch64-unknown-linux-gnu'

From the project's rust-toolchain config, it has this and nothing else:

[toolchain]
channel = "1.86.0"

Source, in case you want to reference any other config files: https://github.com/pantsbuild/pants/src/rust.

Steps

As noted above, this error is reported immediately upon running Rust, e.g. rustc.

This is observed on Ubuntu 24.04, running in Docker on Apple Silicon, ARM64.

Possible Solution(s)

No response

Notes

No response

Rustup version

$ rustup --version
rustup 1.28.2 (e4f3ad6f8 2025-04-28)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: syncing channel updates for '1.86.0-aarch64-unknown-linux-gnu'
info: latest update on 2025-04-03, rust version 1.86.0 (05f9846f8 2025-03-31)

Installed toolchains

$ rustup show
Default host: aarch64-unknown-linux-gnu
rustup home:  /usr/local/rustup

info: syncing channel updates for '1.86.0-aarch64-unknown-linux-gnu'
info: latest update on 2025-04-03, rust version 1.86.0 (05f9846f8 2025-03-31)
installed toolchains
--------------------
stable-aarch64-unknown-linux-gnu (default)

active toolchain
----------------
no active toolchain

OS version

$ uname -a
Linux 158204fd7093 6.8.0-50-generic #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov  9 18:03:35 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-rustupWhatever is described in this issue isn't Rustup's fault

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions