tinygo构建错误 #1331
ningpengtao-coder
announced in
Announcements
tinygo构建错误
#1331
Replies: 1 comment 3 replies
-
建议用 wasm-go 目录下的 makefile 通过 builder container 来进行编译。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
版本:
go 1.23.1
tinygo 0.33
命令:
tinygo build -o main.wasm -scheduler=none -target=wasi -gc=custom -tags='custommalloc nottinygc_finalizer' main.go
github.com/higress-group/proxy-wasm-go-sdk/proxywasm/internal
错误:
../../go/pkg/mod/github.com/higress-group/[email protected]/proxywasm/internal/hostcall_utils_tinygo.go:31:9: cannot use uintptr(size) (value of type uintptr) as int value in struct literal
../../go/pkg/mod/github.com/higress-group/[email protected]/proxywasm/internal/hostcall_utils_tinygo.go:32:9: cannot use uintptr(size) (value of type uintptr) as int value in struct literal
../../go/pkg/mod/github.com/higress-group/[email protected]/proxywasm/internal/hostcall_utils_tinygo.go:39:9: cannot use uintptr(size) (value of type uintptr) as int value in struct literal
../../go/pkg/mod/github.com/higress-group/[email protected]/proxywasm/internal/hostcall_utils_tinygo.go:40:9: cannot use uintptr(size) (value of type uintptr) as int value in struct literal
(base) ningpengtao@DESKTOP-DVFFB09:~/wasmgo/oidc-test$ ls
Beta Was this translation helpful? Give feedback.
All reactions