Category : rust

I’m trying to build the project with linking the C++ library in Rust, which was proposed here: Linking to a C++ library that has extern "C" functions with the full example located on Github: https://github.com/renato-zannon/rust-to-cpp-example When I run cargo build (on Mac), the following error message is thrown: Compiling cpp v0.0.1 (/Users/monikak/Documents/repos/rust-to-cpp-example) warning: use of ..

Read more

I am trying to build an application where C++ is the host language and where some functions implemented in Rust are called from C++. Like all applications, this one, too, has a unique main entry point called main(). As I am new to Rust and CXX Bridge, the problem I’m facing is that all sample ..

Read more