Skip to content

Minimalistic Example of Calling a Rust struct and Associated Functions from C++, Built Using CMake

Notifications You must be signed in to change notification settings

rootware/minimal_cpp_with_rust_struct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Minimalistic Example of Calling a Rust struct and Associated Functions from C++, Built Using CMake

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published