Hello Rustaceans,
Running into a new problem I've never seen before this morning. I'm using Rust and Cargo versions:
➜ day-four git:(master) ✗ rustc --version
rustc 1.30.0-nightly (33b923fd4 2018-08-18)
➜ day-four git:(master) ✗ cargo --version
cargo 1.29.0-nightly (6a7672ef5 2018-08-14)
➜ day-four git:(master) ✗
When trying to compile my small project I get:
➜ day-four git:(master) ✗ cargo run
Compiling libc v0.2.44
error[E0432]: unresolved import `core::ffi::c_void`
--> /home/isaak/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.44/src/unix/mod.rs:1151:17
|
1151 | pub use core::ffi::c_void;
| ^^^^^^^^^^^^^^^^^ no `c_void` in `ffi`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: Could not compile `libc`.
To learn more, run the command again with --verbose.
What's with this? Is this a bug in the nightly compiler or the libc
create. How should I work around this?