diff options
author | bors <bors@rust-lang.org> | 2018-11-21 16:32:29 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2018-11-21 16:32:29 +0000 |
commit | e85479baa576e49130089d03fa9a798022c99578 (patch) | |
tree | c842ca1f64d573c52a9f83c2674c31ded6eec588 | |
parent | 438034c99825d4abf58c37cc1d9228310ac47e06 (diff) | |
parent | fdb9726d42249171560e23b98d16d8f234a9a338 (diff) | |
download | rust-libc-e85479baa576e49130089d03fa9a798022c99578.tar.gz |
Auto merge of #1132 - glandium:master, r=alexcrichton
core::ffi::c_void is available since rustc 1.30
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ fn main() { * If `core::ffi::c_void` exists, libc can just re-export it. Otherwise, it * must define an incompatible type to retain backwards-compatibility. */ - if rustc_minor_version().expect("Failed to get rustc version") >= 31 { + if rustc_minor_version().expect("Failed to get rustc version") >= 30 { println!("cargo:rustc-cfg=core_cvoid"); } } |