Skip to content

Using Rust code in a C project – A tale of failure (I mean a case study)

License

Notifications You must be signed in to change notification settings

spacekookie/rust-ffi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust FFI

Using Rust code in a C project – A tale of failure

What is the point of this?

Embedding Rust code into an existing C project is a really cool idea. This repo is a weird experiment to see how to do that the mots efficiently.

  • Call Rust functions from C
  • Use Rust struct in C
  • Link no_std crate to C project
  • Use no_std dependencies and Rust state in C

About

Using Rust code in a C project – A tale of failure (I mean a case study)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published