From 8b186df7311c53a06b98e375b987f0a3b3672798 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Wed, 27 May 2015 12:33:43 -0700 Subject: [PATCH] test: remove arch char from nosplit This is dead code that was missed during the 'go tool compile' migration. Change-Id: Ice2af8a9ef72f8fd5f82225ee261854d93b659f1 Reviewed-on: https://go-review.googlesource.com/10430 Reviewed-by: Brad Fitzpatrick --- test/nosplit.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/test/nosplit.go b/test/nosplit.go index 0fc8dc47f0..8864137eb1 100644 --- a/test/nosplit.go +++ b/test/nosplit.go @@ -184,19 +184,10 @@ func main() { goarch = runtime.GOARCH } - thechar := "" - if gochar, err := exec.Command("go", "env", "GOCHAR").Output(); err != nil { - bug() - fmt.Printf("running go env GOCHAR: %v\n", err) - return - } else { - thechar = strings.TrimSpace(string(gochar)) - } - version, err := exec.Command("go", "tool", "compile", "-V").Output() if err != nil { bug() - fmt.Printf("running go tool %sg -V: %v\n", thechar, err) + fmt.Printf("running go tool compile -V: %v\n", err) return } if strings.Contains(string(version), "framepointer") { -- 2.48.1