Skip to content

Miri does not support target x86_64-unknown-uefi #2740

Closed
@jyn514

Description

@jyn514

I am not quite sure what's going on here, but @oli-obk thinks it's a bug in miri itself, unrelated to cargo or the standard library.

$ env MIRI_NO_STD=1 cargo miri test --target=x86_64-unknown-uefi
fatal error: file "/home/jyn/.local/lib/cargo/target/miri/x86_64-unknown-uefi/debug/deps/example-d7b0fa77a56c0a56.efi" not found or `cargo-miri` invoked incorrectly; please only invoke this binary through `cargo miri`
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `/home/jyn/.local/lib/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo-miri runner /home/jyn/.local/lib/cargo/target/miri/x86_64-unknown-uefi/debug/deps/example-d7b0fa77a56c0a56.efi --quiet` (exit status: 1)

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