Skip to content

Pass --config skip_children=true to rustfmt - #4059

Merged
UebelAndre merged 1 commit into
bazelbuild:mainfrom
martingms:skip-children
May 27, 2026
Merged

Pass --config skip_children=true to rustfmt#4059
UebelAndre merged 1 commit into
bazelbuild:mainfrom
martingms:skip-children

Conversation

@martingms

Copy link
Copy Markdown
Contributor

The rustfmt.toml skip_children workaround is a no-op on stable rustfmt. Instead, we pass it as a --config flag, which seems to be honored.

Fixes #4022

The rustfmt.toml skip_children workaround is a no-op on stable rustfmt.
Instead, we pass it as a --config flag, which seems to be honored.

@UebelAndre UebelAndre left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@UebelAndre
UebelAndre added this pull request to the merge queue May 27, 2026
Merged via the queue into bazelbuild:main with commit 4bfb5ee May 27, 2026
3 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.

Documented skip_children workaround for mod walking seems to be ignored on stable rustfmt

2 participants