-
Notifications
You must be signed in to change notification settings - Fork 98
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
Conversation
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
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 🤦🏻
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