I’m scoping the effort to add a new cross-compile target for Rust. Wind River has had some interest in Rust from customers wanting to develop certified system. Type safety with deterministic garbage collection makes Rust very attractive.
One of the 4 compilers we use with VxWorks is llvm, so I’m confident we can supply back-end for the toolchain. But after a couple hours looking though your github I’m not sure where the build vs run elements are?
I found https://github.com/rust-lang/libc and the OS bindings there look straight forward, VxWorks has enough POSIX APIs we might squeeze it under the unix tree?
But I’m sure that’s only the beginning.
What other elements do I need before I can use Rust with a new configuration tuple targeting a new OS?