]> Cypherpunks.ru repositories - gostls13.git/commit
internal: add wasip1 support
authorJohan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Sat, 25 Mar 2023 16:03:15 +0000 (09:03 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 7 Apr 2023 23:34:17 +0000 (23:34 +0000)
commitdd21a77bfae041eefe7b02ab5a40a7c4d3403f8d
tree1a2f443e2daf2373b02ec7729f46d1baca315e6a
parent693a34e78856980b0bb4a10ffcfd2bac1dbd6ebe
internal: add wasip1 support

For #58141

Co-authored-by: Richard Musiol <neelance@gmail.com>
Co-authored-by: Achille Roussel <achille.roussel@gmail.com>
Co-authored-by: Julien Fabre <ju.pryz@gmail.com>
Co-authored-by: Evan Phoenix <evan@phx.io>
Change-Id: I1488726e5b43cd21c5f83900476afd2fb63d70c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/479622
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
16 files changed:
src/cmd/dist/test.go
src/internal/poll/fcntl_wasm.go [moved from src/internal/poll/fcntl_js.go with 76% similarity]
src/internal/poll/fd_fsync_posix.go
src/internal/poll/fd_poll_wasm.go [moved from src/internal/poll/fd_poll_js.go with 94% similarity]
src/internal/poll/fd_posix.go
src/internal/poll/fd_unix.go
src/internal/poll/fd_unixjs.go [new file with mode: 0644]
src/internal/poll/fd_wasip1.go [new file with mode: 0644]
src/internal/poll/hook_unix.go
src/internal/poll/sys_cloexec.go
src/internal/syscall/unix/net_wasip1.go [new file with mode: 0644]
src/internal/syscall/unix/nonblocking_wasip1.go [new file with mode: 0644]
src/internal/testenv/exec.go
src/internal/testenv/testenv.go
src/internal/testenv/testenv_notunix.go
src/syscall/syscall_wasip1.go