github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/internal/util/alloc_other.go (about)

     1  //go:build !(unix || windows) || sqlite3_nosys
     2  
     3  package util
     4  
     5  import "github.com/tetratelabs/wazero/experimental"
     6  
     7  func virtualAlloc(cap, max uint64) experimental.LinearMemory {
     8  	return sliceAlloc(cap, max)
     9  }