-
Notifications
You must be signed in to change notification settings - Fork 2.6k
frame-support build fails with latest rust nightly-2020-05-26 #6167
Comments
stable version
|
I reinstalled all installed toolchains , and then fixed this problem. |
This is fixed by this pr: rust-lang/rust#72724 Installing rust nightly rustc 1.45.0-nightly (74e804683 2020-05-30) fixes it. We also merged a pr to fix the underlying bug, so, if the feature is re-added to the compiler we should not run into the same problems. |
For people following our tutorials, will this problems always be present in Substrate v2.0.0-rc2? If so I can update the instructions for that version of the tutorial to add an extra step to make sure you're on the correct nightly. I guess I'm unclear if this is an ephemeral upstream issue with Rust or if this is something that will always be the case on v2.0.0-rc. |
No, the compiler reverted the code that lead to this compilation error. Until the code is re-added, the tutorial should work without any problems. |
A tutorial user reported the same error in I know the compiler itself reverted so this is not an immediate problem anymore, but I wonder if the underlying issue in
|
I'm struggling with this for rc5:
I uninstalled all my toolchains and re-ran
my
|
@brenzi can you try using the nightly from July 24th? That was the date |
hm, that nightly won't install because of missing cargo fmt. but that one works:
however, the wasm builder decides on its own what toolchain to use, right? so it is of no use to do
right? |
works @bkchr suggested
which makes it work with stable too. |
rustup toolchain install nightly-2020-07-12 |
Thanks guys...
|
cargo build --release
Compiler error building WASM runtime with latest
nightly-2020-05-26
Reverting to earlier version of nightly from a few days prior does not show same error.
The text was updated successfully, but these errors were encountered: