4 ms·
Rust can't import C++ libraries, for many of the same reasons that C programs can't import C++ libraries.
by chungy 7y ago
Rust can't import C++ libraries, for many of the same reasons that C programs can't import C++ libraries.
- bluejekyll 7y agoRight. The C++ lib would need a C FFI interface for Rust to consume.
- alvarelle 7y agoOr using this crate: https://docs.rs/cpp/0.5.4/cpp/ https://docs.rs/cpp/0.5.4/cpp/