targets/wasm_unknown: remove _start to _initialize to match WASI

Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
deadprogram 2024-02-17 01:03:50 +01:00 коммит произвёл Ron Evans
родитель c55191283b
коммит 36d60b8349

Просмотреть файл

@ -11,8 +11,8 @@ type timeUnit int64
//export __wasm_call_ctors
func __wasm_call_ctors()
//export _start
func _start() {
//export _initialize
func _initialize() {
// These need to be initialized early so that the heap can be initialized.
heapStart = uintptr(unsafe.Pointer(&heapStartSymbol))
heapEnd = uintptr(wasm_memory_size(0) * wasmPageSize)