As I understand it, rustc_codegen_gcc [1], which is being merged into mainline rustc [2], supports building for MIPS.
[1] https://github.com/antoyo/rustc_codegen_gcc
[2] https://github.com/rust-lang/rust/pull/87260
Can you give it a try?
[1] https://github.com/antoyo/rustc_codegen_gcc
[2] https://github.com/rust-lang/rust/pull/87260
Can you give it a try?