We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello guys!
I'm using macOS Big Sur 11.2.1 go version go1.14.4 darwin/amd64
I'm trying to compile my test app (which uses Serf) to WebAssembly with this command GOOS=js GOARCH=wasm go build -o membership.wasm
GOOS=js GOARCH=wasm go build -o membership.wasm
I always get these errors `
../../../go/pkg/mod/github.com/hashicorp/[email protected]/ifaddrs.go:116:13: undefined: NewRouteInfo ../../../go/pkg/mod/github.com/hashicorp/[email protected]/ifaddrs.go:276:13: undefined: NewRouteInfo ../../../go/pkg/mod/github.com/hashicorp/[email protected]/route_info.go:14:10: undefined: routeInfo
../../../go/pkg/mod/github.com/armon/[email protected]/const_unix.go:11:18: undefined: syscall.SIGUSR1 `
Could you tell me please if it is even possible to build wasm binary using Serf?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Doesn't web assembly disallows general sockets? I doubt you will be able to open udp transports. But I might be wrong here.
Sorry, something went wrong.
No branches or pull requests
Hello guys!
I'm using
macOS Big Sur 11.2.1
go version go1.14.4 darwin/amd64
I'm trying to compile my test app (which uses Serf) to WebAssembly with this command
GOOS=js GOARCH=wasm go build -o membership.wasm
I always get these errors
`
github.com/hashicorp/go-sockaddr
../../../go/pkg/mod/github.com/hashicorp/[email protected]/ifaddrs.go:116:13: undefined: NewRouteInfo
../../../go/pkg/mod/github.com/hashicorp/[email protected]/ifaddrs.go:276:13: undefined: NewRouteInfo
../../../go/pkg/mod/github.com/hashicorp/[email protected]/route_info.go:14:10: undefined: routeInfo
github.com/armon/go-metrics
../../../go/pkg/mod/github.com/armon/[email protected]/const_unix.go:11:18: undefined: syscall.SIGUSR1
`
Could you tell me please if it is even possible to build wasm binary using Serf?
Thank you in advance!
The text was updated successfully, but these errors were encountered: