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>
Showing
src/internal/cpu/cpu_wasm.go
0 → 100644
src/reflect/asm_wasm.s
0 → 100644
src/runtime/asm_wasm.s
0 → 100644
src/runtime/cgo/asm_wasm.s
0 → 100644
src/runtime/lock_js.go
0 → 100644
src/runtime/mem_js.go
0 → 100644
src/runtime/memclr_wasm.s
0 → 100644
src/runtime/memmove_wasm.s
0 → 100644
src/runtime/rt0_js_wasm.s
0 → 100644
src/runtime/sys_wasm.go
0 → 100644
src/runtime/sys_wasm.s
0 → 100644
Please register or sign in to comment