Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust can't import C++ libraries, for many of the same reasons that C programs can't import C++ libraries.


Right. The C++ lib would need a C FFI interface for Rust to consume.


Or using this crate: https://docs.rs/cpp/0.5.4/cpp/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: