Source file src/runtime/mem_wasip1.go

     1  // Copyright 2023 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 wasip1
     6  
     7  package runtime
     8  
     9  func resetMemoryDataView() {
    10  	// This function is a no-op on WASI, it is only used to notify the browser
    11  	// that its view of the WASM memory needs to be updated when compiling for
    12  	// GOOS=js.
    13  }
    14  

View as plain text