Calling Rust Code from C
We've learned how to call C code from Rust. Now, let's learn about Calling Rust Code from C.
We've learned how to call C code from Rust. Now, let's learn about Calling Rust Code from C.
We've learned about raw pointers. Now, let's learn about Calling unsafe Functions or Methods.
We've learned about unsafe traits. Now, let's learn about the Foreign Function Interface (FFI): Calling C Code from Rust.
We've learned a lot about FFI. Now, it's time to put it all together in a Project: A Simple Wrapper around a C Library.