Skip to content
Snippets Groups Projects
Commit fdb9726d authored by Mike Hommey's avatar Mike Hommey
Browse files

core::ffi::c_void is available since rustc 1.30

parent 4d9a03e3
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment