github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/vendor_skip/golang.org/x/sys/cpu/cpu_wasm.go (about)

     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  
     5  //go:build wasm
     6  
     7  package cpu
     8  
     9  // We're compiling the cpu package for an unknown (software-abstracted) CPU.
    10  // Make CacheLinePad an empty struct and hope that the usual struct alignment
    11  // rules are good enough.
    12  
    13  const cacheLineSize = 0
    14  
    15  func initOptions() {}
    16  
    17  func archInit() {}