Skip to content

RISC-V CI tests fail on bat while other architectures pass #1719

@OctopusET

Description

@OctopusET

Checklist

Describe your issue

I was adding riscv64gc-unknown-linux-gnu and riscv64gc-unknown-linux-musl target on bat. But CI/CD fails, and I think it's because of cross-rs.

Without cross-rs, test doesn't fail. I think it's because of terminal emulation.
I runned with carget test --target riscv64gc-unknown-linux-gnu while I configured the QEMU.

Failed CI: https://github.com/OctopusET/bat/actions/runs/18910014240/job/53977874904
(musl target is failing due to old version of cross-rs)

I even updated QEMU to other versions (9,10) but it still fails.

What target(s) are you cross-compiling for?

riscv64gc-unknown-linux-gnu

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.5 (49cd054 2025-09-26)

Example

No response

Additional information / notes

No response

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