Skip to content

aokomoriuta/CallRustFromCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CallRustFromCpp

Example to call Rust from C++

author (attribution) : 青子守歌 (aokomoriuta)

URL : https://github.com/aokomoriuta

This project is multi-licensed. You can select the license of your choice from as following:

Usage

dynamic lib (.so)

$ cd src
$ make
$ ./CallRustFromCpp
Hello, world! [from C++]
Hello, world! [from Rust]

static lib (.a)

$ cd src
$ make -f Makefile_a
$ ./CallRustFromCpp
Hello, world! [from C++]
Hello, world! [from Rust]

Releases

No releases published

Packages

No packages published