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 file #3370

Closed
wants to merge 2 commits into from
Closed

Add rust-toolchain file #3370

wants to merge 2 commits into from

Conversation

AlicanC
Copy link
Contributor

@AlicanC AlicanC commented Nov 15, 2022

The toolchain file is used to pin a project to a certain version of the Rust toolchain.

We currently do not specify an actual version anywhere but just stable so I have followed that, but pinning it to an actual version like 1.65 could prevent new Clippy lints, etc. breaking our CI process when there's a new release.

Though, the file is useful even with just stable since it helps us clean the CI YAMLs.

Note: The current format of this file is actually TOML, but the GH action we're using doesn't support it yet so I had to use the legacy format. (The GH action also seems to be unmaintained: actions-rs/toolchain#216)

@AlicanC AlicanC added the ci label Nov 15, 2022
@AlicanC AlicanC self-assigned this Nov 15, 2022
@AlicanC
Copy link
Contributor Author

AlicanC commented Nov 15, 2022

cc @ControlCplusControlV

@AlicanC AlicanC changed the title Add rust-toolchain.toml Add rust-toolchain File Nov 15, 2022
@AlicanC AlicanC changed the title Add rust-toolchain File Add rust-toolchain file Nov 15, 2022
@AlicanC AlicanC marked this pull request as ready for review November 15, 2022 19:49
@AlicanC AlicanC requested review from mitchmindtree, nfurfaro, ra0x3 and a team November 15, 2022 19:49
otrho
otrho previously approved these changes Nov 15, 2022
@otrho otrho requested a review from a team November 15, 2022 21:26
mohammadfawaz
mohammadfawaz previously approved these changes Nov 15, 2022
@AlicanC AlicanC dismissed stale reviews from mohammadfawaz and otrho via 937041e November 15, 2022 21:34
@mohammadfawaz mohammadfawaz marked this pull request as draft November 21, 2022 20:06
@AlicanC
Copy link
Contributor Author

AlicanC commented Nov 23, 2022

I'm actually going to close this because I just couldn't find a convenient way of doing it. The action we currently use doesn't fully support our case and it's unmaintained so there's nothing we can do besides forking. There's an alternative but maintainer of that is refusing to implement support for the file. (This comment summarizes the situation well: actions-rs/toolchain#126 (comment))

I'll revisit if the situation changes.

@AlicanC AlicanC closed this Nov 23, 2022
@AlicanC AlicanC deleted the jc/rust-toolchain-toml branch April 6, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants