On Thu, Apr 27, 2023 at 07:06:29PM +0200, Josselin Poiret wrote: > Hi Efraim (and the rest of the Rust team), > > Efraim Flashner writes: > > > Now that core-updates has been merged into master it's time for a status > > update from the rust team. > > > > Currently rust supports (in the order of gaining support) x86_64, > > aarch64 and riscv64. GDB-11 doesn't currently build on aarch64 or > > riscv64, so we're removing gdb-11 entirely and using a new gdb-12 as > > gdb/pinned for the test suite. This is expected to fix rust building on > > aarch64. > > Is there any hope for the other architectures? I'm thinking i686 > mostly, but s390x, powerpc and mips are all on the radar. There hasn't been much development in the mrustc repo for the past few months and I believe the issues blocking i686 (needs too much memory at once) is still present. As far as powerpc64le, it does pretty well with mrustc but doesn't get through the whole bootstrap yet. Another option would be to work on the cross-compiling ability of the cargo-build-system, then you could at least cross compile to them. I will point out that s390x and mips aren't actually supported in Guix currently. > > rust-bootstrap currently fails to build on riscv64. I've been testing > > solutions by building on an x86_64 machine to see what builds pass and > > what fails, and I think I've found a solution with minimal changes. > > > > Once I'm able to successfully build rust-bootstrap on x86_64 and riscv64 > > I'll push the update to the rust-team branch and let the CI build it > > out. > > > > As a quick overview, this push moves our rust package to rust-1.67 and > > updates many of our rust packages. We've had some more unbundling of > > bundled library sources and precompiled libraries and updated a number > > of rust programs, mostly so they build with the newer version of rust. > > Very impressive! I only watch from afar and complain about the rust > situation whenever I can, but this is giving me hope. With Rust getting > further and further down into the dependency chain, this is vital work, > and you all seem to be handling it very well. > > I'm also curious, since you're "early adopters": how are you managing > with the team workflow? Any tips, remarks or impressions that you could > share with other teams? Speak in the plural and no one will realize it's a team of one ;) I'm thinking of tagging the rust stuff with [rust team] so it stands out and is easily searchable. if/when I send patches for other teams I'll probably tag those too and hope it catches on. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted