We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ef494 commit 0e6830cCopy full SHA for 0e6830c
1 file changed
src/unix.rs
@@ -100,5 +100,12 @@ extern "C" {
100
)]
101
#[cfg_attr(target_os = "aix", link_name = "_Errno")]
102
#[cfg_attr(target_os = "nto", link_name = "__get_errno_ptr")]
103
+
104
+ // Newer libc versions re-export `c_int` from `std` which is incompatible
105
+ // with Rust < 1.65. However, this is not actually a problem as users can
106
+ // use an older `libc`.
107
+ // See: https://github.com/rust-lang/libc/pull/5015
108
+ #[allow(clippy::incompatible_msrv)]
109
110
fn errno_location() -> *mut c_int;
111
}
0 commit comments