Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netxlite: do not call netgo the CGO_ENABLED=0 resolver (#243)
In ooni/probe#2029 (comment), we explained why calling it "netgo" would be incorrect. In other words, we can get the platform's `getaddrinfo` as long as we're not cross compiling. We do cross compile `ooniprobe`, actually it's not even possible to cross compile it. For increased accuracy, we should stop cross compiling `miniooni` as well, so it would also directly use `getaddrinfo`. This diff fixes at the same time ooni/probe-cli and ooni/spec and we'll open two pull requests in parallel.
- Loading branch information