
Part of the difficulty in the Rust for Linux kernel support is being dependent upon the architectures supported by the upstream LLVM-based Rust compiler but then still needing Linux kernel code changes as well in enabling and validating the new CPU ports. The patches posted today aim to get the Rust kernel code working on MIPS hardware.
Jiaxun Yang posted the patches for Rust MIPS kernel support and commented:
"This series added MIPS arch support to rust for linux, hopefully MIPS is not too late to the party :-)
Sample rust module tested on R4000(el), mips32, mips32r2el, mips64, mips64r2el, mips64r6el."
Those interested can find the MIPS enabling patches for Rust in the Linux kernel via this Linux kernel mailing list thread . So far from initial feedback it's looking like some upstream Rust changes may be needed for some new MIPS target triples before the code is ultimately accepted into the upstream Linux kernel.