Gotta love how Gentoo maintains a list of packages that depends on Rust in a profile called `wd40` :laughing_cirno:

From gitweb.gentoo.org/repo/gentoo.

> This is a common profile for architectures and subarchitectures that do not support Rust (do not have a working virtual/rust). It serves as a common place to mask the packages requiring Rust and the USE flags pulling them.

@koakuma
> architectures and subarchitectures that do not support Rust
Do they exist? Has to be something really marginal — Go is really bad at it, but Rust — I have an impression that you can build it for nearly anything 😄

@a1ba I think it can use MSVC toolchain on Windows and likewise can probably use compilers on other platforms native to them, I doubt support for e.g. AXP ever existed in LLVM.
A lot of these arches are indeed marginal, TBH I'm suprised some of them are still in the kernel, even 32-bit ARM and x86 do not receive proper testing in a lot of software, it's mostly about AArch64 and x86-64 these days, probably experimental RISC-V, IBM might maintain some POWER support.
@koakuma

@m0xee @a1ba rustc is quite tightly integrated with LLVM for at least code generation (though, as far as I know, assembling and linking can be done with external tools), and given that the stdlib would also need to support the platform, it actually supports less platforms than LLVM proper (m68k and sparc32 being the most notable ones)

> it's mostly about AArch64 and x86-64 these days
Probably this is true in standard average desktop software, but as far as I understand it what you call marginal arches still has quite a lot of use in embedded situations so I guess it'd make sense that there are folks (commercial or not) who are still interested in supporting them

Follow

@koakuma No, I say marginal without disrespect and I'd be glad if more platforms are supported, I'm an avid user of less popular architectures myself, I'm typing this now on an old 32-bit ARM netbook, my Pleroma instance (not the one I'm replying from, my own one) runs on an old 32-bit PowerPC MacMini and it's currently building CUPS as I intend to use it as print server too. So I know better than most what it's like building stuff for say lesser mainstream platforms
@a1ba

@m0xee Oooh that is very cool! What OS are you having on the Mini?

But yeah no hard feelings intended here either~ :hehehe:

@koakuma Void Linux — former PowerPC port. Daniel did a tremendous job maintaining it, but moved on to work more on Chimera and abandoned it. I did update a few things I use often like transmission and such, and I can still cross-compile a lot of things with upstream void-packages, still, maintaining a proper port requires a lot of effort and I'm not up to it, more things will start breaking. Still, having Linux 6.1 and pretty much up-to-date software is impressive for such an old machine 😁

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml