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

Add missing pre-requisite to build WASM client #1753

Closed
2 tasks done
jpraynaud opened this issue Jun 17, 2024 · 0 comments · Fixed by #1772
Closed
2 tasks done

Add missing pre-requisite to build WASM client #1753

jpraynaud opened this issue Jun 17, 2024 · 0 comments · Fixed by #1772
Assignees
Labels
documentation 📖 Documentation to add/update

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Jun 17, 2024

Why

We have noticed that the pre-requisites to setup the WASM client build tools is missing the setup of the Rust target:

  • wasm32-unknown-unknown target is missing:
warning: blst@0.3.11: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning: blst@0.3.11: 1 error generated.
  • wasm32-unknown-emscripten is missing with emcc:
warning: blst@0.3.11: emcc: error: unsupported target: wasm32-unknown-unknown (emcc only supports wasm64-unknown-emscripten and wasm32-unknown-emscripten)

error: failed to run custom build command for `blst v0.3.11`

What

Add the commands to setup the Rust target(s) in the documentation of the WASM client

How

  • Add target rustup target add wasm32-unknown-unknown with default pre-requisites
  • Add target rustup target add wasm32-unknown-emscripten with emcc pre-requisites
@jpraynaud jpraynaud added the documentation 📖 Documentation to add/update label Jun 17, 2024
@dlachaume dlachaume self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📖 Documentation to add/update
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants