wasm: simple call of wasm exported function raises an error "out of bounds memory access" #71240
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
Go version
go version go1.24rc1 linux/arm64
Output of
go env
in your module/workspace:What did you do?
I'm trying to call simple wasm exported Go function from
wasmtime
andwazero
runtimes.wasm.go
GOOS=wasip1 GOARCH=wasm go build -o out.wasm -buildmode=c-shared ./wasm/
wasmtime_main.go
wazero_main.go
What did you see happen?
I got
out of bounds memory access
onwazero
andwasmtime
runtimeWhat did you expect to see?
I expect function execution without any error.
The text was updated successfully, but these errors were encountered: