From f7e6ab44b410ef56bb89da182948a451d3cca34c Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 3 Apr 2020 12:22:27 -0400 Subject: all: remove scattered remnants of darwin/arm This removes all conditions and conditional code (that I could find) that depended on darwin/arm. Fixes #35439 (since that only happened on darwin/arm) Fixes #37611. Change-Id: Ia4c32a5a4368ed75231075832b0b5bfb1ad11986 Reviewed-on: https://go-review.googlesource.com/c/go/+/227198 Run-TryBot: Austin Clements TryBot-Result: Gobot Gobot Reviewed-by: Cherry Zhang --- src/runtime/pprof/pprof_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/pprof') diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 83b3152d68..e78f1a4938 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -226,7 +226,7 @@ func testCPUProfile(t *testing.T, matches matchFunc, need []string, avoid []stri switch runtime.GOOS { case "darwin": switch runtime.GOARCH { - case "arm", "arm64": + case "arm64": // nothing default: out, err := exec.Command("uname", "-a").CombinedOutput() -- cgit v1.3-6-g1900