gcc/libgo/go/internal/cpu/cpu_other.go
Ian Lance Taylor a9f76d03bb internal/cpu: more build fixes for Go1.16beta1 release
Some files were missing from the libgo copy of internal/cpu, because they
used to only declare CacheLinePadSize which libgo gets from goarch.sh.
Now they also declare doinit, so copy them over.  Adjust cpu_other.go.

Fix the amd64p32 build by adding a build constraint to cpu_no_name.go.

Fixes PR go/98493

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/281472
2021-01-05 13:48:59 -08:00

25 lines
451 B
Go

// Copyright 2020 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.
// +build !386
// +build !amd64
// +build !amd64p32
// +build !arm
// +build !arm64
// +build !mips
// +build !mipsle
// +build !mips64
// +build !mips64le
// +build !ppc
// +build !ppc64
// +build !ppc64le
// +build !riscv64
// +build !s390x
// +build !wasm
package cpu
func doinit() {
}