sunfishcode / c-ward

An implementation of libc written in Rust
Other
188 stars 11 forks source link

Use `getent` for DNS resolution instead of sync-resolve. #42

Closed sunfishcode closed 10 months ago

sunfishcode commented 10 months ago

Use the getent ahosts command to implement getaddrinfo instead of the sync-resolve crate, which is not actively maintained. This also follows the host DNS and NSS configuration.