5 ms·
Anyone who needs to handle FFI in Rust, should read the FFI chapter in Rustonomicon: https://doc.rust-lang.org/nomicon/ffi.html https://doc.rust-lang.org/nomico
by namjh 2y ago
Anyone who needs to handle FFI in Rust, should read the FFI chapter in Rustonomicon: https://doc.rust-lang.org/nomicon/ffi.html https://doc.rust-lang.org/nomicon/ffi.html
Unsafe Rust is indeed very hard to write correctly. Rustonomicon is a good start to learn unsafe Rust.