diff options
-rw-r--r-- | CONTRIBUTING.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d56ff777..7703188f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -96,6 +96,14 @@ There is also the `./bindgen-integration` crate, which uses `bindgen` to generate bindings to some C++ code, and then uses the bindings, asserting that values are what we expect them to be both on the Rust and C++ side. +The generated and expected bindings are run through `rustfmt` before they are +compared. Make sure you have `rustfmt` up to date: + +``` +$ rustup update nightly +$ rustup run nightly cargo install -f rustfmt-nightly +``` + ### Testing Bindings Generation To regenerate bindings from the corpus of test headers in `tests/headers` and |