←back to thread

150 points sohkamyung | 7 comments | | HN request time: 0.206s | source | bottom
1. usr1106 ◴[] No.42133732[source]
They promise Linux support. What is the situation with Rust on RISC-V? Obviously for a couple of years you haven't been able to build a somewhat complete and modern distro without a Rust compiler. However, that wasn't available everywhere outside of x86 and arm64 at the same time (https://lwn.net/Articles/845535/). Has that been fully solved in the meantime?
replies(3): >>42133883 #>>42133898 #>>42134063 #
2. kldx ◴[] No.42133883[source]
In the embedded space, rust works great for riscv on ESP chips
3. aarroyoc ◴[] No.42133898[source]
The Rust compiler has supported RISC-V64GC for many years already. I got my first RISC-V SBC in 2022 and have not found a single issue with the Rust compiler (some libraries have problems, but that's a different problem). In the end, the Rust compiler relies on LLVM, which also Clang users need it in order to compile C and C++ programs to RISC-V.
4. capitol_ ◴[] No.42134063[source]
My experience with our riscv build deamons in Debian is everything works, but there is some spurious segfaults from time to time.

Check the green build matrix on this page: https://qa.debian.org/developer.php?login=alexander.kjall%40...

replies(1): >>42136378 #
5. snvzz ◴[] No.42136378[source]
It is kind of amazing where the build process is[0][1].

0. https://buildd.debian.org/status/architecture.php?a=riscv64&...

1. https://buildd.debian.org/stats/graph-week-big.png

replies(1): >>42138361 #
6. SushiHippie ◴[] No.42138361{3}[source]
Anyone familiar with debian can explain what these drops in percentages are?

E.g. arm64 dropped very low for a while or all arches dropped around 2024.68

https://buildd.debian.org/stats/graph-quarter.png

replies(1): >>42142349 #
7. snvzz ◴[] No.42142349{4}[source]
Not that familiar, but this is sid, which is where debian development happens.

If there's a huge drop, it is most of the time because a package a lot of software depends on got updated or modified (e.g. built with different options) and it caused ABI changes, thus causing rebuilds of everything that depends on it.