We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14e178c + f49efe4 commit aa0f5b5Copy full SHA for aa0f5b5
libc-test/build.rs
@@ -2675,6 +2675,7 @@ fn test_linux(target: &str) {
2675
"elf.h",
2676
"fcntl.h",
2677
"glob.h",
2678
+ [gnu]: "gnu/libc-version.h",
2679
"grp.h",
2680
"iconv.h",
2681
"ifaddrs.h",
src/unix/linux_like/linux/gnu/mod.rs
@@ -1326,6 +1326,11 @@ extern "C" {
1326
pub fn malloc_trim(__pad: ::size_t) -> ::c_int;
1327
}
1328
1329
+extern "C" {
1330
+ pub fn gnu_get_libc_release() -> *const ::c_char;
1331
+ pub fn gnu_get_libc_version() -> *const ::c_char;
1332
+}
1333
+
1334
cfg_if! {
1335
if #[cfg(any(target_arch = "x86",
1336
target_arch = "arm",
0 commit comments