News for hackers. Stuff that matters.
Re:Bare Metal Rust Generics by davidhyde on Sunday August 23, 2020 @06:49PM (#24255946)
You can easily call c code from rust using the extern keyword:

https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#usin...

If your c++ code uses the c ABI (application binary interface) then you can call it easily too. There is a tool called rust-bindgen which will automatically generate the required rust code from header files.

There are no comments on this comment yet.