Setting up QEMU for RISCV64 on Archlinux

sudo pacman -S qemu-user-binfmt
sudo pacman -S qemu-system-riscv # only if you need it
sudo systemctl restart systemd-binfmt

Having qemu-user-binfmt, you can run binaries built for RISCV64 on your AMD64 machine as a usual AMD64 binary. How amazing is that?