Re:Lock freedom without garbage collection in Rust
by vvanders on Thursday August 27, 2015 @06:30PM
(#10132574)
Ah, the docs around FFI say that libc is a part of the standard library so it wasn't clear that I'd have to pull that from crates.io.
[ Parent
| on HN ]
Re:Lock freedom without garbage collection in Rust
by steveklabnik on Thursday August 27, 2015 @06:57PM
(#10132676)
Hmm, can you point me to where they say that so I can fix it? Seems bad.
(Also, the error message when you don't have a `#![feature(libc)]` should say "hey, please use the external crate thanks")
Re:Lock freedom without garbage collection in Rust
by vvanders on Thursday August 27, 2015 @07:17PM
(#10132745)
https://doc.rust-lang.org/book/ffi.html at the end of "Interoperability with foreign code"
Yeah, that error message sent me down the wrong path :).
Re:Lock freedom without garbage collection in Rust
by steveklabnik on Thursday August 27, 2015 @07:42PM
(#10132851)
Ahh excellent, thank you! https://github.com/rust-lang/rust/issues/28053