go-plugin icon indicating copy to clipboard operation
go-plugin copied to clipboard

Can't compile with tinygo v0.32.0

Open inliquid opened this issue 1 year ago • 0 comments

There are compile errors when building plugin with (latest) tinygo v0.32.0:

$ tinygo build -target=wasip1 -scheduler=none --no-d
ebug
# github.com/knqyf263/go-plugin/wasm
../../../vendor/github.com/knqyf263/go-plugin/wasm/plugin.go:18:10: cannot use uintptr(size) (value of type uintptr) as int value in assignment
../../../vendor/github.com/knqyf263/go-plugin/wasm/plugin.go:19:10: cannot use uintptr(size) (value of type uintptr) as int value in assignment

Everything is fine with tinygo v0.31.*.

inliquid avatar Jul 01 '24 12:07 inliquid