Re:Does memory leak? (1995)
by ajxs on Saturday February 22, 2020 @06:34PM
(#22394073)
Rust's official documentation on FFI ( https://doc.rust-lang.org/nomicon/ffi.html ) recommends using an external crate 'libc' to facilitate even the minimal FFI functionality. This crate is not part of Rust itself. It is apparently maintained by some of Rust's developers, but again, this is not an official Rust component. To me this does not seem like the kind of mature design you would rely on for interoperability with other languages.
[ Parent
| on HN ]
Actually, Rust's std itself depends on that same libc crate, so it's a bit hard to say it's "not part of Rust itself".