ESP32-CAN/components/clib
Robert Cottrell 8c94733638
Create components for Rust and C integration (#10)
* Create components for Rust and C integration
* Create component for C code that will be callable from Rust
* Create component for Rust code that will be callable from C
* Remove circular dependencies between C and Rust code
* Run cbindgen to dynamically generate C headers for Rust functions
2021-06-25 13:57:03 +02:00
..
include Create components for Rust and C integration (#10) 2021-06-25 13:57:03 +02:00
CMakeLists.txt Create components for Rust and C integration (#10) 2021-06-25 13:57:03 +02:00
README.md Create components for Rust and C integration (#10) 2021-06-25 13:57:03 +02:00
clib.c Create components for Rust and C integration (#10) 2021-06-25 13:57:03 +02:00

README.md

clib

This component exposes functions and data defined in C that will accessed from Rust.

The Rust build will automatically generate bindings to these functions by processing the exported header files with bindgen.