358
submitted 7 months ago by joojmachine@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] unreachable@lemmy.world 12 points 7 months ago
[-] MonkderZweite@feddit.ch -1 points 7 months ago

Doesn't compile where musl does.

[-] Rustmilian@lemmy.world 4 points 7 months ago* (last edited 7 months ago)

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 7 months ago

I meant, Rust suppports vewer architectures.

[-] Rustmilian@lemmy.world 3 points 7 months ago* (last edited 7 months ago)

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 7 months ago
[-] Rustmilian@lemmy.world 3 points 7 months ago* (last edited 7 months ago)

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

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

Linux

47228 readers
779 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