I'd like to add Rust support for an as-of-yet unsupported OS. From what I can tell it should be possible to cross-compile the std library on a host system (say Linux), using the host compiler. I realize that the library itself will have to gain support for the target OS, but as a first step I'd like to know how to build it stand-alone for a different target.
Is there a recipe for doing that? I found a couple of blog posts suggesting it is doable, but lacking details.