-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hello!
I'm trying to compile encoding+deconidng code to wasi targert with tinygo 0.30.0 and have the following errors:
$ make
tinygo build -o main.wasm -target ./target.json -opt=2 -gc=precise .
# github.com/kelindar/binary
../../../../go/pkg/mod/github.com/kelindar/binary@v1.0.18/convert.go:24:19: cannot use l (variable of type int) as uintptr value in assignment
../../../../go/pkg/mod/github.com/kelindar/binary@v1.0.18/convert.go:25:19: cannot use l (variable of type int) as uintptr value in assignment
make: *** [Makefile:17: main.wasm] Error 1
My target.json:
{
"inherits": [ "wasi" ],
"ldflags": [
"--initial-memory=2097152",
"--max-memory=67108864",
"-zstack-size=65536"
]
}
It looks like an easy problem, let's fix it :-)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels