Skip to content

Files

Latest commit

 

History

History
6 lines (4 loc) · 487 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 487 Bytes

Simple CXX Example of Calling Rust from C++

Hi! This is a very minimalistic example of calling a Rust struct and associated functions from C++, while doing compilation in C++ as well. It's done using cxxbridges, and is a trimmed down version of https://github.com/paandahl/cpp-with-rust/tree/main , please go check their amazing example for more info.

Mostly using this repo for questions and as an example: for more of my projects involving C++ and Rust interop, see other repos.