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

Experimental: add ComputeEpochID to WASM #570

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

konradkonrad
Copy link
Contributor

This does not work at the moment:

make wasm
tinygo build -target wasm -size full -o ./bin/shutter-crypto.unopt.wasm ./shcryptowasm/shutter_crypto_wasm.go
# github.com/supranational/blst/bindings/go
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:14:9: not implemented: build constraints in #cgo line
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:16:9: not implemented: build constraints in #cgo line
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:18:13: fatal: 'blst.h' file not found
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:125:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:125:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:138:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:50:16: unknown C type: int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:50:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:55:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:60:16: unknown C type: int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:60:16: unknown C type: const int[] (libclang type kind IncompleteArray)
../../../.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/supranational/blst@v0.3.12/bindings/go/blst.go:65:16: unknown C type: const int[] (libclang type kind IncompleteArray)
make: *** [Makefile:19: wasm] Error 1

@konradkonrad
Copy link
Contributor Author

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 this pull request may close these issues.

1 participant