-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I tried to build *.wasm with this command:
GOOS=js GOARCH=wasm go build -o main.wasm main.go
But got this error:
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:81:14: undefined: strbuf
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:266:11: undefined: strbuf
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:270:11: undefined: strbuf
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:286:37: undefined: strbuf
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:299:21: undefined: strbuf
........\go\pkg\mod\github.com\ebfe\scard@v0.0.0-20190212122703-c3d1b1916a95\scard.go:81:14: too many errors