My note for trying rust-for-linux.
Prepare environment
Here I take arch linux as an example, and I assume you already installed rust and put ~/.cargo/bin
inside your PATH
.
cd /some/where
# Install requirements
sudo pacman -Syuu --noconfirm bc bison curl clang diffutils flex git gcc llvm libelf lld ncurses make qemu-system-x86 cpio
export MAKEFLAGS="-j32"