mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +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>
18 lines
438 B
Go
18 lines
438 B
Go
// Copyright 2019 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 wasm
|
|
|
|
package cpu
|
|
|
|
// We're compiling the cpu package for an unknown (software-abstracted) CPU.
|
|
// Make CacheLinePad an empty struct and hope that the usual struct alignment
|
|
// rules are good enough.
|
|
|
|
const cacheLineSize = 0
|
|
|
|
func initOptions() {}
|
|
|
|
func archInit() {}
|