Source file src/vendor/golang.org/x/sys/cpu/cpu_wasm.go

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

View as plain text