Source file src/syscall/fs_wasip1_wasm32.go

     1  // Copyright 2026 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  package syscall
     6  
     7  // wasiPtr is a Go pointer so the GC can track buffers referenced by WASI data.
     8  type wasiPtr = *byte
     9  
    10  func makeWASIPtr(p *byte) wasiPtr {
    11  	return p
    12  }
    13  

View as plain text