Skip to content

Add riscv64 release binaries #1937

@gounthar

Description

@gounthar

Is your feature request related to a problem? Please describe.
fd has no riscv64 release binaries, requiring users on RISC-V hardware to build from source.

Describe the solution you'd like
Add riscv64gc-unknown-linux-gnu to the release matrix in .github/workflows/CICD.yml.

Describe alternatives you've considered
Building from source works. The existing use-cross: true approach may not work for riscv64 (cross-rs has known issues with riscv64, see cross-rs/cross#1719). Native riscv64 runners are the cleaner path.

Additional context
fd 10.4.2 builds on native riscv64 hardware with no source changes:

$ ./target/release/fd --version
fd 10.4.2

$ file target/release/fd
ELF 64-bit LSB pie executable, UCB RISC-V, RVC, double-float ABI

Built on BananaPi F3 (SpacemiT K1, rv64gc).

Native riscv64 GitHub Actions runners are available through the RISE Project (ubuntu-24.04-riscv), free for open source. To enable: install the RISE runners GitHub App.

Related: sharkdp/bat#3463 (same ecosystem, bat also builds on riscv64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions