Skip to content

Use prettyplease to format expectations #2536

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

Merged
merged 8 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions bindgen-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ diff = "0.1"
shlex = "1"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
prettyplease = { version = "0.2.0" }
syn = { version = "2.0" }
tempfile = "3"

[features]
Expand Down
2 changes: 2 additions & 0 deletions bindgen-tests/tests/expectations/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# disable rustfmt for this crate so running `cargo fmt` doesn't affect the expected binding files
disable_all_formatting = true
247 changes: 66 additions & 181 deletions bindgen-tests/tests/expectations/tests/16-byte-alignment.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading