LLVM compiles C, C++, Rust, etc. into an intermediate language and then compiles that language into assembly for the target platform. I’m not sure if gcc uses an intermediate language or not. Either way, the compiler can compile any of its supported languages into any of its target platforms.
For Rust, you will probably need to look into “no_std” for systems that don’t have a typical libc setup.
LLVM compiles C, C++, Rust, etc. into an intermediate language and then compiles that language into assembly for the target platform. I’m not sure if gcc uses an intermediate language or not. Either way, the compiler can compile any of its supported languages into any of its target platforms. For Rust, you will probably need to look into “no_std” for systems that don’t have a typical libc setup.