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.
1 parent fcf5fc0 commit be7e45fCopy full SHA for be7e45f
libc-test/build.rs
@@ -469,10 +469,16 @@ fn main() {
469
// it's in a header file?
470
"endpwent" if android => true,
471
472
- // Apparently it exists, but isn't defined in a header:
+ // Apparently res_init exists on Android, but isn't defined in a header:
473
// https://mail.gnome.org/archives/commits-list/2013-May/msg01329.html
474
"res_init" if android => true,
475
476
+ // On macOS and iOS, res_init is available, but requires linking with libresolv:
477
+ // http://blog.achernya.com/2013/03/os-x-has-silly-libsystem.html
478
+ // See discussion for skipping here:
479
+ // https://github.com/rust-lang/libc/pull/585#discussion_r114561460
480
+ "res_init" if apple => true,
481
+
482
_ => false,
483
}
484
});
0 commit comments