File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -469,10 +469,16 @@ fn main() {
469
469
// it's in a header file?
470
470
"endpwent" if android => true ,
471
471
472
- // Apparently it exists, but isn't defined in a header:
472
+ // Apparently res_init exists on Android , but isn't defined in a header:
473
473
// https://mail.gnome.org/archives/commits-list/2013-May/msg01329.html
474
474
"res_init" if android => true ,
475
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
+
476
482
_ => false ,
477
483
}
478
484
} ) ;
You can’t perform that action at this time.
0 commit comments