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 you have read our privacy policy.

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