Safe C++ and Rust Interop: A Practical Guide to cxx::bridge
A working reference for cxx::bridge built from three real projects — a greeting logger, a WASM plugin engine with a tokio runtime pinned at the FFI boundary, and a CLI that uses Corrosion to make CMake and cargo cooperate. Every file in full, every build command shown, every quirk of the bridge explained.