diff options
| author | Cherry Mui <cherryyz@google.com> | 2022-02-08 14:46:58 -0500 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2022-02-08 23:46:01 +0000 |
| commit | e4ca3fa345a204b72a011b3634ddcfc09dcc68bc (patch) | |
| tree | 99c5b2281aac84338fe7354e9851f72ce6f34a93 /src | |
| parent | 6749dd40b31dbcfae2eb91deb93989899b868617 (diff) | |
| download | go-e4ca3fa345a204b72a011b3634ddcfc09dcc68bc.tar.xz | |
cmd/dist: test cgo internal linking on darwin-arm64
CL 383554 disables testing cgo internal linking on all ARM64 but
Windows, because it doesn't work with newer GCC. But
- darwin-arm64 works, and it does not use GCC
- we don't support cgo internal linking on windows-arm64 anyway.
This CL fixes the condition.
Change-Id: I9eb7b81ef75e482f5e95d2edae4863ba21396432
Reviewed-on: https://go-review.googlesource.com/c/go/+/384269
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/dist/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 4b67565430..d9eb9c3862 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1119,7 +1119,7 @@ func (t *tester) cgoTest(dt *distTest) error { // Skip internal linking cases on arm64 to support GCC-9.4 and above. // See issue #39466. - skipInternalLink := goarch == "arm64" && goos != "windows" + skipInternalLink := goarch == "arm64" && goos != "darwin" if t.internalLink() && !skipInternalLink { cmd := t.addCmd(dt, "misc/cgo/test", t.goTest(), "-tags=internal") |
