rustup target add wasm32-unknown-unknown --toolchain nightly

Why can't the stable toolchain be used to compile, what I beleive is the runtime to WASM? Why is nightly needed?

1 Answer 1


It doesn't require nightly anymore, now substrate compiles with stable rust compiler of at least version 1.68

The original requirement was because important features were not yet stabilized when the project started.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.