Skip to content
New issue

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

Does not build with target wasm #1058

Open
jchorl opened this issue Nov 20, 2019 · 0 comments · May be fixed by #1059
Open

Does not build with target wasm #1058

jchorl opened this issue Nov 20, 2019 · 0 comments · May be fixed by #1059

Comments

@jchorl
Copy link

jchorl commented Nov 20, 2019

Following go's webassembly guide, the package does not build for wasm. Google's certificate-transparency-go dep is a little too out of date.

$ GOOS=js GOARCH=wasm go build ./cmd/...             
# github.com/google/certificate-transparency-go/x509
/home/j/go/pkg/mod/github.com/google/certificate-transparency-go@v1.0.21/x509/cert_pool.go:38:9: undefined: loadSystemRoots
/home/j/go/pkg/mod/github.com/google/certificate-transparency-go@v1.0.21/x509/root.go:21:32: undefined: loadSystemRoots
/home/j/go/pkg/mod/github.com/google/certificate-transparency-go@v1.0.21/x509/verify.go:852:3: not enough arguments to return
/home/j/go/pkg/mod/github.com/google/certificate-transparency-go@v1.0.21/x509/verify.go:852:11: c.systemVerify undefined (type *Certificate has no field or method systemVerify)
# github.com/lib/pq
/home/j/go/pkg/mod/github.com/lib/pq@v0.0.0-20180201184707-88edab080323/conn.go:321:13: undefined: userCurrent
@jchorl jchorl linked a pull request Nov 20, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant