Closed chriso closed 1 year ago
Since it doesn't look like we're going to be able to use the pure Go resolver in Go v1.21, this PR updates the library to use the sock_getaddrinfo function from the WasmEdge sockets extension.
sock_getaddrinfo
Our wasi-go library supports it since https://github.com/stealthrocket/wasi-go/pull/41.
I've made it the default, but kept the old way there too behind a build tag.
Since it doesn't look like we're going to be able to use the pure Go resolver in Go v1.21, this PR updates the library to use the
sock_getaddrinfo
function from the WasmEdge sockets extension.Our wasi-go library supports it since https://github.com/stealthrocket/wasi-go/pull/41.
I've made it the default, but kept the old way there too behind a build tag.