You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Rust stdlib on macOS requires every executable to link to libresolv.dylib. This is probably unnecessary and happens only because res_init_if_glibc_before_2_26 is called on all #[cfg(unix)] platforms.
On macOS -lresolv is rarely used, so Rust static libraries cause linker errors in most C programs due to _res_9_init missing.
Can the res_init_if_glibc_before_2_26 hack be limited to #[cfg(linux)] or something with not(target_os = "macos")?
frewsxcv, raintean, sercand, joshuarli and rajasuba