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::skip] to disable rustfmt on generated code. #1088

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

sunfishcode
Copy link
Member

Add #[rustfmt::skip] to generated Rust code when we're using prettyplease, so that users don't see spurious diffs when running cargo fmt over their projects.

Add `#[rustfmt::skip]` to generated Rust code when we're using
prettyplease, so that users don't see spurious diffs when running
`cargo fmt` over their projects.
@alexcrichton alexcrichton added this pull request to the merge queue Nov 16, 2024
Merged via the queue into bytecodealliance:main with commit dd15b0e Nov 16, 2024
25 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/rustfmt branch November 16, 2024 05:20
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