We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
libresolv
1 parent 233384f commit 2618f7aCopy full SHA for 2618f7a
library/std/src/sys/unix/mod.rs
@@ -352,16 +352,12 @@ cfg_if::cfg_if! {
352
extern "C" {}
353
} else if #[cfg(target_os = "macos")] {
354
#[link(name = "System")]
355
- // res_init and friends require -lresolv on macOS/iOS.
356
- // See #41582 and https://blog.achernya.com/2013/03/os-x-has-silly-libsystem.html
357
- #[link(name = "resolv")]
358
359
} else if #[cfg(any(target_os = "ios", target_os = "watchos"))] {
360
361
#[link(name = "objc")]
362
#[link(name = "Security", kind = "framework")]
363
#[link(name = "Foundation", kind = "framework")]
364
365
366
} else if #[cfg(target_os = "fuchsia")] {
367
#[link(name = "zircon")]
0 commit comments