Licence
MIT OR Apache-2.0, checked at build time
fn64’s own code is MIT OR Apache-2.0. You can ship it, fork it, embed it in a commercial product, and license your own work on top of it however you like.
The dependency tree is permissive throughout, with no copyleft, but it is not MIT-only: winit and cpal are Apache-2.0, so a build that wants a window and audio takes Apache terms. The debug overlay also embeds egui’s default fonts, which carry OFL-1.1 and the Ubuntu Font Licence. Neither is onerous, and both want attribution in anything you distribute.
The runtime is clean-room in the usual sense: it was written from our own debugging notes, public documentation and MIT-licensed source, and nobody working on it read GPL implementation code.
The build checks this. N64Recomp’s generated C includes librecomp/sections.h unconditionally, because it was written for a GPL-3.0 runtime. fn64 ships its own header at that path and puts its include directory first, so the compiler picks up fn64’s version even when the original is installed. Your generated code links against the Rust runtime unchanged, and the GPL implementation is never compiled in.
RT64 is MIT and stays behind an FFI boundary in its own crate, so a port that does not want the C++ dependency can take the reference backend and never link it.