this post was submitted on 31 Jan 2024
353 points (98.6% liked)

Linux

48003 readers
930 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Rustmilian@lemmy.world 4 points 9 months ago* (last edited 9 months ago) (1 children)

While there may be challenges and specific configurations required, you absolutely can compile Rust on and targeting to a musl-based system.

[–] MonkderZweite@feddit.ch 1 points 9 months ago (1 children)

I meant, Rust suppports vewer architectures.

[–] Rustmilian@lemmy.world 3 points 9 months ago* (last edited 9 months ago) (1 children)

Rust actually supports most architectures(SPARC, AMD64/x86-64, ARM, PowerPC, RISC-V, and AMDGPU*). The limitations are from LLVM not supporting some architects(Alpha, SuperH, and VAX) and some instruction sets(sse2, etc.); z/Architecture is a bit of an outlier that has major challenges to overcome for LLVM-Rust. This is not going to be a problem when GCC-Rust is finished.

AMDGPU, *Not 100%, but works well enough to actually use in production and gets better all the time.

[–] MonkderZweite@feddit.ch 2 points 9 months ago (1 children)
[–] Rustmilian@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

Np. It's a common point of confusion.
You can use rustup target list to see all available architectures and targets.