aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_wasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/sys_wasm.go')
-rw-r--r--src/runtime/sys_wasm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/sys_wasm.go b/src/runtime/sys_wasm.go
index bf5756984a..27f9432bd4 100644
--- a/src/runtime/sys_wasm.go
+++ b/src/runtime/sys_wasm.go
@@ -21,6 +21,7 @@ func wasmDiv()
func wasmTruncS()
func wasmTruncU()
+//go:wasmimport gojs runtime.wasmExit
func wasmExit(code int32)
// adjust Gobuf as it if executed a call to fn with context ctxt