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

Replace init.sh script with proper rust-toolchain file. #298

Merged
merged 14 commits into from
Mar 30, 2021

Conversation

JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented Mar 23, 2021

What does it do?

This PR turns our rust-toolchain file into a proper toml format that specifies not only the nightly version, but also toolchains (wasm32-unknown-unknown) and components (clipy, rustfmt).

This will help the wasm builder avoid problems with the wrong toolchain.

What value does it bring to the blockchain users?

Fewer places to get stuck or confused when building the node.

Checklist

  • ❌ Does it require a purge of the network?
  • ❌ You bumped the runtime version if there are breaking changes in the runtime ?
  • ❌ Does it require changes in documentation/tutorials ?

@JoshOrndorff JoshOrndorff marked this pull request as draft March 23, 2021 19:25
@JoshOrndorff
Copy link
Contributor Author

Well, this is basically blocked by actions-rs/toolchain#126 Once we have a way to install rustup in CI, this should remove the last pains associated with toolchains.

@JoshOrndorff JoshOrndorff marked this pull request as ready for review March 30, 2021 17:46
@JoshOrndorff
Copy link
Contributor Author

JoshOrndorff commented Mar 30, 2021

Thanks for the help installing rustup on the runner @purestakeoskar

@JoshOrndorff JoshOrndorff added A0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low Does not elevate a release containing this beyond "low priority". labels Mar 30, 2021
Copy link
Contributor

@notlesh notlesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@JoshOrndorff JoshOrndorff merged commit 83d4b5d into master Mar 30, 2021
@JoshOrndorff JoshOrndorff deleted the joshy-rust-toolchain-toml branch March 30, 2021 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low Does not elevate a release containing this beyond "low priority".
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants