diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-29 18:57:44 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-29 20:27:03 +0000 |
commit | 479018150c0575d46495689315448f5524813ed5 (patch) | |
tree | 685a76d87985d4c1f0eaad1b964507c1ef1dd787 /src/runtime/crash_cgo_test.go | |
parent | 23b687eccbcc68f44acf34fd5971f0f5c04d90de (diff) | |
download | go-479018150c0575d46495689315448f5524813ed5.tar.gz go-479018150c0575d46495689315448f5524813ed5.zip |
all: remove support for macOS 10.9 and earlier
Updates #23122
Change-Id: I4c12ec5cb1a1f15d7858f3deab636710c0660e26
Reviewed-on: https://go-review.googlesource.com/115038
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r-- | src/runtime/crash_cgo_test.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index fc0cfd9aed..d8f75a468b 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -89,19 +89,6 @@ func TestCgoExternalThreadSIGPROF(t *testing.T) { switch runtime.GOOS { case "plan9", "windows": t.Skipf("no pthreads on %s", runtime.GOOS) - case "darwin": - if runtime.GOARCH != "arm" && runtime.GOARCH != "arm64" { - // static constructor needs external linking, but we don't support - // external linking on OS X 10.6. - out, err := exec.Command("uname", "-r").Output() - if err != nil { - t.Fatalf("uname -r failed: %v", err) - } - // OS X 10.6 == Darwin 10.x - if strings.HasPrefix(string(out), "10.") { - t.Skipf("no external linking on OS X 10.6") - } - } } if runtime.GOARCH == "ppc64" { // TODO(austin) External linking not implemented on |