3 ms·
Great news! Hopefully this means that Rust will now support GCC's supported architectures [0] in addition to their own quite impressive and continuously improv
by akoster 4y ago
Great news! Hopefully this means that Rust will now support GCC's supported architectures [0] in addition to their own quite impressive and continuously improving list [1] [2], including those that are less popular these days. I hope this will directly help issues experienced by the Debian Ports project [3] [4], Gentoo Linux [5] [6], and possibly Alpine Linux [7] and NetBSD [8].
[0] https://gcc.gnu.org/backends.html https://gcc.gnu.org/backends.html
[1] https://doc.rust-lang.org/rustc/target-tier-policy.html https://doc.rust-lang.org/rustc/target-tier-policy.html
[2] https://doc.rust-lang.org/nightly/rustc/platform-support.html https://doc.rust-lang.org/nightly/rustc/platform-support.htm...
[3] https://web.archive.org/web/20220223133124/https://people.gnome.org/~federico/blog/librsvg-rust-and-non-mainstream-architectures.html https://web.archive.org/web/20220223133124/https://people.gn...
[4] https://lwn.net/Articles/771355/ https://lwn.net/Articles/771355/
[5] https://news.ycombinator.com/item?id=26097153 https://news.ycombinator.com/item?id=26097153
[6] https://news.ycombinator.com/item?id=26203853 https://news.ycombinator.com/item?id=26203853
[7] https://wiki.alpinelinux.org/wiki/Architecture https://wiki.alpinelinux.org/wiki/Architecture
[8] https://www.netbsd.org/ports/#ports-by-cpu https://www.netbsd.org/ports/#ports-by-cpu
- nickitolas 4y agoThat is actually going to happen for rustc itself via the rustc_codegen_gcc project (https://github.com/rust-lang/rustc_codegen_gcc https://github.com/rust-lang/rustc_codegen_gcc), this post is about a different project that writes a "from scratch" rust frontend/compiler for the GCC project in C++ . They both compile rust code with GCC as a backend, but one uses the normal rustc/cargo tools, and the other is a separate compiler with a separate cargo shim.