Re:Writing embedded firmware using Rust
by leafario2 on Sunday December 19, 2021 @05:05PM
(#29618906)
> Can Rust import and use C header files?
Yes, after piping them through rust-bindgen, any binary can be statically of dynamically linked. I did this, it's nice that it's possible, but the PAC route others have described here is way better.
Yes, after piping them through rust-bindgen, any binary can be statically of dynamically linked. I did this, it's nice that it's possible, but the PAC route others have described here is way better.