Skip to content

should we pin to a rustc nightly version inside the repo? #5561

Closed
@matthiaskrgr

Description

@matthiaskrgr

Now that clippy should no longer break since it receives rustc-fixes automatically, do we still need to use the rustc master toolchain?

I wonder if we could use a rust-toolchain file to pin clippy to a certain nightly version inside this repo.
This could make sure that clippy always compiles for people adding new lints and we might no longer require the rustc master toolchain to build it, the correct nightly would be installed automatically.

If someone merges changes done in the rustc repo down to this clippy repo and resolves the merge conflicts, the nightly version would be bumped to that nightly.

However I am not sure how a rustc-toolchain file will behave if it is found inside a subdir of the rustc repo...
Also this might introduce a 24 hour delay if we need to wait for a new nightly to be released in some cases (might happen around releases? I don't know). :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infraArea: CI issues and issues that require full access for GitHub/CIC-questionCategory: QuestionsS-needs-discussionStatus: Needs further discussion before merging or work can be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions