aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/metadata.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-01-14 15:22:51 -0500
committerMichael Pratt <mpratt@google.com>2022-01-14 20:50:36 +0000
commita99c38d66381b2a6abbc0d9c88feb3f6291cb245 (patch)
treeaf7c8a53aae529f16a466cd5939d1b541ffa5a59 /src/cmd/dist/metadata.go
parent07b995e5bba0c3fe04d6ba399c16abec485bcdaa (diff)
downloadgo-a99c38d66381b2a6abbc0d9c88feb3f6291cb245.tar.gz
go-a99c38d66381b2a6abbc0d9c88feb3f6291cb245.zip
Revert "cmd/dist: log CPU model when testing"
Fails TestRepeatBootstrap. This reverts CL 371474. For #50146. Change-Id: Ie4adda4e0229e153471301ca00fe2c1c694b4b2d Reviewed-on: https://go-review.googlesource.com/c/go/+/378587 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/dist/metadata.go')
-rw-r--r--src/cmd/dist/metadata.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/cmd/dist/metadata.go b/src/cmd/dist/metadata.go
deleted file mode 100644
index f0a125fb8a..0000000000
--- a/src/cmd/dist/metadata.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2021 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Helper to print system metadata (CPU model, etc). This uses packages that
-// may not be available in the bootstrap toolchain. It only needs to be built
-// on the dist build using the final toolchain.
-
-//go:build go1.18
-// +build go1.18
-
-package main
-
-import (
- "fmt"
- "internal/sysinfo"
- "runtime"
-)
-
-func logMetadata() error {
- fmt.Printf("# GOARCH: %s\n", runtime.GOARCH)
- fmt.Printf("# CPU: %s\n", sysinfo.CPU.Name())
- return nil
-}