How do I add Rust to a C++ project?

42 points XiPingTing

I have a project written in C++. I don't want to rewrite the whole thing, but there's one annoying compilation unit which could really benefit from Rust's safety. Is there a way to bind Rust against C or C++, and spit out a header I can use?