Like any new convert, I fervidly want to use Rust for everything. Right now, I want to use it to write a device simulator for QEMU on Linux. Right now I'm writing the glue Make code to compile rust. It is pretty close to working. i.e. I can get it to run what looks like the right rustc command:
error: could not copy "hw/ft/hord-rust.hord_rust.7rcbfp3g-cgu.0.rcgu.o" to "hw/ft/hord-rust.o": No such file or directory (os error 2)
I know that the directory hw/ft exists in the current directory and have verified that this is the directory in which the rustc command is being run, so it seems like hw/ft/hord-rust.hord_rust.7rcbfp3g-cgu.0.rcgu.o is the file that doesn't exist. But this doesn't make sense since this should be a file created by rustc.
I recommend you to check Linux Kernel modules in Rust, qemu uses Kconfig like Linux kernel does, and the building system roughly similar. It should help to understand how to build some skeleton driver.