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/[email protected]/convert.go:24:19: cannot use l (variable of type int) as uintptr value in assignment
../../../../go/pkg/mod/github.com/kelindar/[email protected]/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 :-)
Metadata
Metadata
Assignees
Labels
No labels