Skip to content

Check that Miri builds on Linux ARM hosts #4419

Closed
@RalfJung

Description

@RalfJung

Ever since #4405, we have some cfg logic in Miri that specifically only kicks in on Linux ARM builds (with somewhat separate codepaths for 32bit and 64bit). However, we don't have any such build in CI. In fact, we don't even have an x86-32 Linux build in CI.

We should either find a way to at least do a ./miri check for that host in CI, or remove the code. Entirely untested code is just a disaster waiting to happen. And sadly Rust isn't very good at cross-compiling so this will probably require somehow running on a host with the desired architecture.

@marcoieni rustc now seems to have aarch64 Linux runners for their CI, or some sort of emulation setup. Is that a setup we can easily copy for Miri?

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