Skip to content

Commit

Permalink
Auto merge of #2862 - LegNeato:master, r=Amanieu
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Aug 11, 2022
2 parents 14e178c + f49efe4 commit aa0f5b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/build.rs
Expand Up @@ -2675,6 +2675,7 @@ fn test_linux(target: &str) {
"elf.h",
"fcntl.h",
"glob.h",
[gnu]: "gnu/libc-version.h",
"grp.h",
"iconv.h",
"ifaddrs.h",
Expand Down
5 changes: 5 additions & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Expand Up @@ -1326,6 +1326,11 @@ extern "C" {
pub fn malloc_trim(__pad: ::size_t) -> ::c_int;
}

extern "C" {
pub fn gnu_get_libc_release() -> *const ::c_char;
pub fn gnu_get_libc_version() -> *const ::c_char;
}

cfg_if! {
if #[cfg(any(target_arch = "x86",
target_arch = "arm",
Expand Down

0 comments on commit aa0f5b5

Please sign in to comment.