Rust for Linux on RISC-V

I’m currently investigating a usecase where we build an application that has to run on a Buildroot-based Linux OS running on a RISC-V softcore processor. We’d prefer to develop the application in Rust.

Currently, there are no RISC-V Linux targets supported by the Rust compiler. Has anyone tried something like this? What would be the challenges that arise if we would try to add support ourselves?


This sounds like an interesting project. Since Rust already has RISC-V targets and Linux targets, adding RISC-V Linux targets should not be difficult.

1 Like