3 ms·
bindgen actually has the option to generate wrappers for C++ methods and other stuff for Rust to call. We don't use this, but we do use its ability to generate
by Manishearth 9y ago
bindgen actually has the option to generate wrappers for C++ methods and other stuff for Rust to call. We don't use this, but we do use its ability to generate templates and stuff.
The other way around -- getting Rust to use the C++ abi -- needs compiler changes and also has questionable benefits.
- oscargrouch 9y ago> getting Rust to use the C++ abi -- needs compiler changes and also has questionable benefits. Yes.. Im sure is not worthy it overall.