cpu_wasm.go 397 B

12345678910111213
  1. // Copyright 2019 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package cpu
  5. // We're compiling the cpu package for an unknown (software-abstracted) CPU.
  6. // Make CacheLinePad an empty struct and hope that the usual struct alignment
  7. // rules are good enough.
  8. const cacheLineSize = 0
  9. func doinit() {}