terraform/.github
Martin Atkins 4ec1feaa3d build: CGO_ENABLED when building for macOS
Normally when we cross-compile we do so without CGo, because we don't have
suitable C headers available for systems other than the host.

However, building for macOS on macOS is special because there are
sufficient headers available on darwin_amd64 to build for both
darwin_amd64 _and_ darwin_arm64. Also, we _must_ use CGo on macOS because
the system resolver is only available via darwin's libc, and so building
without CGo produces executables that don't resolve hostnames correctly.

This is a conditional in bash to avoid having to duplicate the entire
step. Perhaps later we'll find a more general version of this which can
avoid the special case, but this is sufficient for the moment.
2022-01-06 14:51:09 -08:00
..
ISSUE_TEMPLATE remove Crash section of issue template 2021-10-29 14:43:36 -04:00
workflows build: CGO_ENABLED when building for macOS 2022-01-06 14:51:09 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-10-30 14:09:49 +00:00
CONTRIBUTING.md Add clarification to message about community PR review 2021-09-07 21:04:13 -05:00
SUPPORT.md Revise our contributing/development documentation 2019-10-15 08:39:36 -07:00
dependabot.yml Add initial dependabot configuration 2021-07-21 17:31:16 -04:00