How was your experience using Rust as a target language (instead of C)? I understand that Rust has lots of features for when you want to write code by hand but do those also help when you are working with generated code? Or does the borrow checker get in the way all the time?

Not to answer your question but if you want C / C++, have a look at Shedskin

https://github.com/shedskin/shedskin