dave / jsgo

GopherJS compiler, serving framework and CDN.
https://jsgo.io/<path>
MIT License
269 stars 11 forks source link

Complation error in golang.org/x/sys/unix/syscall_unix.go #12

Closed johanbrandhorst closed 6 years ago

johanbrandhorst commented 6 years ago

Hi.

I recently updated the dependencies of my GopherJS project and found that it no longer compiles on compile.jsgo.io.

The following link reproduces the problem: https://compile.jsgo.io/johanbrandhorst/grpcweb-example.

The error is:

gopath/src/github.com/johanbrandhorst/grpcweb-example/vendor/golang.org/x/sys/unix/syscall_unix.go:153:38: undeclared name: _Socklen
dave commented 6 years ago

Does this compile OK with the GopherJS command line tool?

johanbrandhorst commented 6 years ago

Yes, it works locally with

$ gopherjs version
GopherJS 1.10-2
johanbrandhorst commented 6 years ago

Actually I'm an idiot, I chose the wrong directory to compile. This will attempt to compile my server :man_facepalming:. Sorry!