Skip to content

Commit fdb9726

Browse files
committed
core::ffi::c_void is available since rustc 1.30
1 parent 4d9a03e commit fdb9726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn main() {
77
* If `core::ffi::c_void` exists, libc can just re-export it. Otherwise, it
88
* must define an incompatible type to retain backwards-compatibility.
99
*/
10-
if rustc_minor_version().expect("Failed to get rustc version") >= 31 {
10+
if rustc_minor_version().expect("Failed to get rustc version") >= 30 {
1111
println!("cargo:rustc-cfg=core_cvoid");
1212
}
1313
}

0 commit comments

Comments
 (0)