@notgull this sounds a lot like mrustc (https://github.com/thepowersgang/mrustc), though mrustc is written in C++