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 rustfmt_toolchain #625

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

lucasbergman
Copy link
Contributor

This makes the nixpkgs_rust_configure repo rule add a rustfmt_toolchain alongside the rust_toolchain, using the same rustfmt binary as the former.

I ran into this when trying to use the Prost support built into rules_rust and it tried to download and invoke a non-nixpkgs rustfmt.

I tried updating README files manually since bazel run @rules_nixpkgs_docs//:update-README.md didn't seem to do anything. If I'm just holding it wrong, sorry, just let me know.

@lucasbergman lucasbergman requested a review from a team as a code owner December 5, 2024 20:35
This makes the nixpkgs_rust_configure repo rule add a rustfmt_toolchain
alongside rust_toolchain, using the same rustfmt binary as the
former. Support for a separate toolchain for rustfmt was added in
bazelbuild/rules_rust#1719.
@lucasbergman
Copy link
Contributor Author

Hi, friends, anyone available for a (hopefully quick) review?

@malt3 malt3 self-assigned this Dec 11, 2024
@malt3
Copy link
Collaborator

malt3 commented Dec 11, 2024

Sorry for keeping you waiting. Thank you for the contribution.

@malt3 malt3 added the merge-queue merge on green CI label Dec 11, 2024
@mergify mergify bot merged commit e1d1158 into tweag:master Dec 11, 2024
13 checks passed
@mergify mergify bot removed the merge-queue merge on green CI label Dec 11, 2024
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