Skip to content

yue2388253/rust_bindgen_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust_bindgen_example

This repository is a simple example to use bindgen.

How to use this repo

Simply run make run is enough. This command would compile the c code and generate a static lib (libhello.a) in directory build, and then run cargo run automatically.

make : only compile the static lib (libhello.a)

make clean : clean all the stuff that the commands above generate.

About

This is a simple example of using bindgen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published