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

Move to stable rustc #186

Merged
merged 6 commits into from
Sep 28, 2024

Conversation

fisherdarling
Copy link
Contributor

@fisherdarling fisherdarling commented Sep 27, 2024

This PR adds a rust-toolchain.toml and switches the repo to use stable rust. This also adds a just check-rust command which runs the rust-based lints.

Previous discussion in #180

(commits are just for semantic separation, we should squash merge, or I can squash myself).

fisherdarling and others added 6 commits September 27, 2024 08:26
This commit a simple `just check-rust` command which can
be used to quickly check+lint the Rust parts of harper.
This commit adds a rust-toolchain.toml which helps maintain
the compiler version across users. We don't pin the latest
version, assuming that stable rust does not have too many
breaking changes across versions. Although new clippy lints
will always probably cause some problems.
In order to switch to a fully stable rustc, we need to remove
the unstable rustmt options.
@elijah-potter
Copy link
Collaborator

Looks good. It should shake out once it's been merged and formatted once more.

@elijah-potter elijah-potter merged commit b2b00e6 into Automattic:master Sep 28, 2024
5 of 7 checks passed
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