Open
Description
I'm trying to put it in WASM to be used with JS (in browser). But WASM build is failing.
Build cmd GOOS=js GOARCH=wasm go build -o main.wasm main.go
error
# github.com/qiniu/iconv
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/reader.go:11:11: undefined: Iconv
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/reader.go:19:19: undefined: Iconv
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/reader.go:21:13: undefined: DefaultBufSize
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/reader.go:49:14: undefined: EILSEQ
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/writer.go:12:11: undefined: Iconv
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/writer.go:19:19: undefined: Iconv
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/writer.go:21:13: undefined: DefaultBufSize
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/writer.go:70:15: undefined: EILSEQ
/home/user/go/pkg/mod/github.com/qiniu/[email protected]/writer.go:102:15: undefined: EILSEQ
Metadata
Metadata
Assignees
Labels
No labels