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?
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this communityIt 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.