Embedded development with Yocto and Rust

How to use Yocto-generated toolchain to cross-compile Rust projects.