mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 01:47:43 +08:00

this removes the replace rule that was added in 3c94621142cc05b163992997e796a3115cd1361e, to fix compile failures for macOS. containerd/console v1.0.1 fixes those issues, which allows us to remove the replace rule again. full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
312 B
Go
16 lines
312 B
Go
// Copyright 2018 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,!amd64,!amd64p32,!arm64
|
|
|
|
package cpu
|
|
|
|
func archInit() {
|
|
if err := readHWCAP(); err != nil {
|
|
return
|
|
}
|
|
doinit()
|
|
Initialized = true
|
|
}
|