Rivet is a toy RISC-V emulator I made as an excuse to learn Zig. As of now, it implements the RV64GC architecture, with an interpreted core written in Zig. The core has access to a few virtual devices through MMIO, including a serial port, real-time clock, hard drive, and ethernet adapter. This is enough to boot and run Linux! Usage The CLI requires exactly one file argument: either an ELF or a…