diff options
author | Richard Musiol <mail@richard-musiol.de> | 2018-03-31 23:14:17 +0200 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-08 00:17:34 +0000 |
commit | 35ea62468bf7e3a79011c3ad713e847daa9a45a2 (patch) | |
tree | 60e4870507f6d9bae6ed07539db29f650a6e10b5 /src/runtime/hash64.go | |
parent | cc0aaff40e02192356ccb65d8acf571d12f74a95 (diff) | |
download | go-35ea62468bf7e3a79011c3ad713e847daa9a45a2.tar.gz go-35ea62468bf7e3a79011c3ad713e847daa9a45a2.zip |
runtime: add js/wasm architecture
This commit adds the js/wasm architecture to the runtime package.
Currently WebAssembly has no support for threads yet, see
https://github.com/WebAssembly/design/issues/1073. Because of that,
there is no preemption of goroutines and no sysmon goroutine.
Design doc: https://docs.google.com/document/d/131vjr4DH6JFnb-blm_uRdaC0_Nv3OUwjEY5qVCxCup4
About WebAssembly assembly files: https://docs.google.com/document/d/1GRmy3rA4DiYtBlX-I1Jr_iHykbX8EixC3Mq0TCYqbKc
Updates #18892
Change-Id: I7f12d21b5180500d55ae9fd2f7e926a1731db391
Reviewed-on: https://go-review.googlesource.com/103877
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/hash64.go')
-rw-r--r-- | src/runtime/hash64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/hash64.go b/src/runtime/hash64.go index 54098d9d2a..c3f2b9b6ad 100644 --- a/src/runtime/hash64.go +++ b/src/runtime/hash64.go @@ -6,7 +6,7 @@ // xxhash: https://code.google.com/p/xxhash/ // cityhash: https://code.google.com/p/cityhash/ -// +build amd64 amd64p32 arm64 mips64 mips64le ppc64 ppc64le s390x +// +build amd64 amd64p32 arm64 mips64 mips64le ppc64 ppc64le s390x wasm package runtime |