ooni-probe-cli/internal/platform
Simone Basso 4764d7f378
cleanup(platform): we don't need CGO anymore (#355)
* cleanup(platform): we don't need CGO anymore

Since go1.16, we have the `ios` port. So we can easily
disambiguate between ios and darwin.

This means we don't need to rely on CGO to correctly guess
whether we are on ios or darwin anymore.

So, now miniooni does not depend on a C compiler even
when you are not cross compiling.

* Update internal/platform/platform.go
2021-06-04 11:46:06 +02:00
..
platform_test.go cleanup(platform): we don't need CGO anymore (#355) 2021-06-04 11:46:06 +02:00
platform.go cleanup(platform): we don't need CGO anymore (#355) 2021-06-04 11:46:06 +02:00