ethantang93 commented on code in PR #10884: URL: https://github.com/apache/arrow-rs/pull/10884#discussion_r3883409279
########## CONTRIBUTING.md: ########## @@ -166,6 +166,38 @@ parquet files run the following from the top-level `arrow-rs` directory: cargo fmt -p parquet -- --check --config skip_children=true `find ./parquet -name "*.rs" \! -name format.rs` ``` +## Miri + +Run tests under [`Miri`](https://github.com/rust-lang/miri) like so, assuming +[`cargo-nextest`](https://nexte.st/) is available: + +```sh +# Run all tests +MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-no-extra-rounding-error" cargo +nightly miri nextest run +# Run specific tests +MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-no-extra-rounding-error" cargo +nightly miri nextest run -p arrow-buffer --lib bigint Review Comment: ```suggestion # Run specific tests MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-no-extra-rounding-error" cargo +nightly miri nextest run -p arrow-buffer --lib bigint # Run specific crate MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-no-extra-rounding-error" cargo +nightly miri nextest run -p arrow-buffer ``` maybe add this too for convenience -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
