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

fix: install WASM target for non-default RUSTC versions #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ntn-x2
Copy link
Contributor

@ntn-x2 ntn-x2 commented Dec 2, 2024

If I try to specify a different RUSTC version than the one the container was built with, I guess an error when compiling the runtime: Cannot compile the WASM runtime: the wasm32-unknown-unknown target is not installed!. The link to the failing Gitlab pipeline is here: https://gitlab.com/kiltprotocol/kilt-node/-/jobs/8516236006.

If I try to add the relevant rustup instruction myself in the image setup step, I get the error /usr/bin/bash: line 166: rustup: command not found. A link to the failing pipeline is here: https://gitlab.com/kiltprotocol/kilt-node/-/jobs/8516444684.

Hence I believe the fix is to add the wasm32-unknown-unknown target by default after overriding the rustc info.

@ntn-x2 ntn-x2 force-pushed the aa/wasm-target-install branch from db14630 to 7d35603 Compare December 2, 2024 08:57
@ntn-x2
Copy link
Contributor Author

ntn-x2 commented Dec 5, 2024

Cc @chevdor and @EgorPopelyaev

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