Compiling Rust with GCC: an update
Compiling Rust with GCC: an update
Posted Sep 10, 2022 18:09 UTC (Sat) by linusw (subscriber, #40300)In reply to: Compiling Rust with GCC: an update by mfuzzey
Parent article: Compiling Rust with GCC: an update
The ARM ISA is not universally supported, specifically not ARMv4 (not even in LLVM in general last time I checked) and I am even uncertain about ARMv5 for rust, both have substantial deployment and isn't going away from the kernel anytime soon.
Posted Sep 11, 2022 10:39 UTC (Sun)
by tialaramex (subscriber, #21167)
[Link] (1 responses)
Tier 3 means Rust's CI checks this compiles, but they don't check it works, and it is only supplied with the core library.
Obviously the kernel is comfortable in that world, you can't just TcpStream::connect() from inside the kernel either, although it won't fit on a GBA as I understand it, presumably if you've got a big enough ARMv4 system to run Linux, Rust isn't a difficult problem.
Posted Sep 11, 2022 12:18 UTC (Sun)
by josh (subscriber, #17465)
[Link]
That's tier 2 (compiles, but isn't tested). Tier 3 is "this exists in the codebase, and might work, but you'll need to build it yourself".
https://doc.rust-lang.org/nightly/rustc/platform-support....
Compiling Rust with GCC: an update
Compiling Rust with GCC: an update