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

Remove rust-toolchain.toml #198

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Remove rust-toolchain.toml #198

merged 1 commit into from
Mar 10, 2022

Conversation

tgeoghegan
Copy link
Contributor

My aim in introducing a rust-toolchain.toml was to ensure that all
builds of crate prio would use a consistent Rust toolchain. However
there's two problems with this. First, Rust projects that pull in crate
prio ignore its rust-toolchain.yaml. Second, dependabot doesn't know
about rust-toolchain.yaml, which means that our toolchain was falling
behind the latest releases from the Rust project. We now instead specify
a rust-version in Cargo.toml, which enforces a minimum toolchain
version for using prio. I specified 1.58 because that's what GitHub
Actions workers currently install.

This commit also fixes some warnings uncovered by building the crate
with a more recent toolchain (1.59 on my machine).

My aim in introducing a `rust-toolchain.toml` was to ensure that all
builds of crate `prio` would use a consistent Rust toolchain. However
there's two problems with this. First, Rust projects that pull in crate
`prio` ignore its `rust-toolchain.yaml`. Second, dependabot doesn't know
about `rust-toolchain.yaml`, which means that our toolchain was falling
behind the latest releases from the Rust project. We now instead specify
a `rust-version` in `Cargo.toml`, which enforces a minimum toolchain
version for using `prio`. I specified 1.58 because that's what GitHub
Actions workers currently install.

This commit also fixes some warnings uncovered by building the crate
with a more recent toolchain (1.59 on my machine).
@tgeoghegan tgeoghegan requested a review from a team as a code owner March 10, 2022 23:34
@tgeoghegan tgeoghegan merged commit d4d402c into main Mar 10, 2022
@tgeoghegan tgeoghegan deleted the timg/remove-rust-toolchain branch October 12, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants