Is it possible to use the LLVM toolchain with
rustc to target to the specified CPU?
I’ve it installed, but running
rustc with option
-C target-cpu=powerpc64 tells
'powerpc64' is not a recognized processor for this target (ignoring processor). (I’m just targetting
powerpc64 for checking if it works, since LLVM supports it, anyways.)
P.S.: I know LLVM doesn’t come with a linker, but in my case I’ll attempt to build my own. For now I’m just using the
--crate-type=staticlib option for emmiting the default linker.
Tl; dr: How to specify a (default) toolchain to use within
rustc, like LLVM?