Skip to content

Commit e85479b

Browse files
committed
Auto merge of #1132 - glandium:master, r=alexcrichton
core::ffi::c_void is available since rustc 1.30
2 parents 438034c + fdb9726 commit e85479b

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)