remove unused wasm_import
This commit is contained in:
@@ -190,14 +190,6 @@ type prestat struct {
|
|||||||
dir prestatDir
|
dir prestatDir
|
||||||
}
|
}
|
||||||
|
|
||||||
//go:wasmimport wasi_snapshot_preview1 fd_prestat_get
|
|
||||||
//go:noescape
|
|
||||||
func fd_prestat_get(fd int32, prestat *prestat) Errno
|
|
||||||
|
|
||||||
//go:wasmimport wasi_snapshot_preview1 fd_prestat_dir_name
|
|
||||||
//go:noescape
|
|
||||||
func fd_prestat_dir_name(fd int32, path *byte, pathLen size) Errno
|
|
||||||
|
|
||||||
type opendir struct {
|
type opendir struct {
|
||||||
fd int32
|
fd int32
|
||||||
name string
|
name string
|
||||||
|
|||||||
@@ -16,14 +16,6 @@ const (
|
|||||||
|
|
||||||
type sdflags = uint32
|
type sdflags = uint32
|
||||||
|
|
||||||
//go:wasmimport wasi_snapshot_preview1 sock_accept
|
|
||||||
//go:noescape
|
|
||||||
func sock_accept(fd int32, flags fdflags, newfd *int32) Errno
|
|
||||||
|
|
||||||
//go:wasmimport wasi_snapshot_preview1 sock_shutdown
|
|
||||||
//go:noescape
|
|
||||||
func sock_shutdown(fd int32, flags sdflags) Errno
|
|
||||||
|
|
||||||
func Socket(proto, sotype, unused int) (fd int, err error) {
|
func Socket(proto, sotype, unused int) (fd int, err error) {
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user