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

Add rust-toolchain.toml to project #249

Merged
merged 2 commits into from
May 13, 2021
Merged

Add rust-toolchain.toml to project #249

merged 2 commits into from
May 13, 2021

Conversation

markmandel
Copy link
Member

Added a rust-toolchain.toml to the project that matches the current build system's rust version.

Also includes a section in our CONTRIBUTING.md discussing the reason for the Rust versioning and how to ensure the correct version is installed.

Work on #241

Added a rust-toolchain.toml to the project that matches the current
build system's rust version.

Also includes a section in our CONTRIBUTING.md discussing the reason for
the Rust versioning and how to ensure the correct version is installed.

Work on #241
@markmandel markmandel added kind/feature New feature or request area/build-tools Development tooling. labels May 12, 2021
@google-cla google-cla bot added the cla: yes label May 12, 2021
We target a specific version of Rust for each build, so we can be deliberate when changing versions to
track if there are any performance changes between Rust releases.

Run `rustup show` in the root of the project directory to install the rust toolchain that is standard for Quilkin
Copy link
Member Author

Choose a reason for hiding this comment

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

Please let me know if there is a better way to do this -- documentation wasn't very clear, and this was the only way that worked for me.

Copy link
Collaborator

@XAMPPRocky XAMPPRocky May 12, 2021

Choose a reason for hiding this comment

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

Well it might not be clear, because it should be automatic. If you run cargo build or any other tool in the directory and don’t have the toolchain it should automatically download.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I expected, but when I ran cargo build this didn't seem to work for me. 🤔 This was the only command that I found that effectively adhered to the right tooling.

Copy link
Member Author

Choose a reason for hiding this comment

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

I just tried it - and of course cargo commands just work now 🤦🏻

@markmandel markmandel merged commit 2bcb6a1 into main May 13, 2021
@markmandel markmandel deleted the tools/rust-toolchain branch May 13, 2021 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-tools Development tooling. cla: yes kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants