I’m absolutely new to rust but want to write my first lines to be compiled for a target which is not yet supported by LLVM upstream.
So I built the LLVM fork which supports my target architecture, myself.
Now I figure, I have to tell rustc to use the manually compiled toolchain instead of what it dragged in as dependencies on my OS (Debian).
Whatever I tried so far,
rustc --print target-list never showed the LLVM target from my manually built LLVM toolchain.
What do I have to do in order to make rust use a different LLVM toolchain? Does it work that way at all? If not, could anybody provide any pointer which might help me what uses/calls/interfaces what and expects what being where?
Thanks a lot in advance!