]> Cypherpunks repositories - gostls13.git/commit
syscall: enable some nacl code to be shared with js/wasm
authorRichard Musiol <mail@richard-musiol.de>
Fri, 27 Apr 2018 15:50:05 +0000 (17:50 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 30 Apr 2018 18:11:03 +0000 (18:11 +0000)
commit3bdbb5df7692142c13cf93f6d80b2a907e3f396b
tree8e98dbe473fad038016cf3bf98d5d1a25338723e
parent3c7456c1b01253188be93290a1746fbeb5d4d27f
syscall: enable some nacl code to be shared with js/wasm

This commit only moves code in preparation for the following commit
which adds the js/wasm architecture to the os package. There are no
semantic changes in this commit.

Updates #18892

Change-Id: Ia44484216f905c25395c565c34cfe6996c305ed6
Reviewed-on: https://go-review.googlesource.com/109976
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/internal/poll/fd_poll_nacljs.go [moved from src/internal/poll/fd_poll_nacl.go with 99% similarity]
src/syscall/fd_nacl.go
src/syscall/fd_nacljs.go [new file with mode: 0644]
src/syscall/tables_nacljs.go [moved from src/syscall/tables_nacl.go with 99% similarity]