Skip to content

Commit 36d60b8

Browse files
committed
targets/wasm_unknown: remove _start to _initialize to match WASI
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent c551912 commit 36d60b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/runtime_wasm_unknown.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ type timeUnit int64
1111
//export __wasm_call_ctors
1212
func __wasm_call_ctors()
1313

14-
//export _start
15-
func _start() {
14+
//export _initialize
15+
func _initialize() {
1616
// These need to be initialized early so that the heap can be initialized.
1717
heapStart = uintptr(unsafe.Pointer(&heapStartSymbol))
1818
heapEnd = uintptr(wasm_memory_size(0) * wasmPageSize)

0 commit comments

Comments
 (0)