This PR adds mmap_wasm.go file to allow dependent projects to compile for wasm architecture. It should resolve the issue #24.
The added file is mostly equivalent to mmap_plan9.go introduced in #25, except for the use of syscall.ENOTSUP. This errno is used by the standard library such as syscall.AllThreadsSyscall.
This PR adds
mmap_wasm.go
file to allow dependent projects to compile forwasm
architecture. It should resolve the issue #24.The added file is mostly equivalent to
mmap_plan9.go
introduced in #25, except for the use ofsyscall.ENOTSUP
. This errno is used by the standard library such assyscall.AllThreadsSyscall
.