From 374c034e9262ebdd282ef99b91002f775bc3e12f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 14 May 2024 15:37:20 +0200 Subject: [PATCH] add miri chapter in README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 977efb5..4c92ea3 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,13 @@ cargo install grcov --locked After that, you can simply run `coverage.py` to test the project with coverage. You can optionally supply the `--open` flag to open the coverage report in your webbrowser. + +# Miri + +You can run the [`miri`](https://github.com/rust-lang/miri) tool on this library to check for +undefined behaviour (UB). This library does not use use any `unsafe` code blocks, but `miri` could +still catch UB from used libraries. + +```sh +cargo +nightly miri nextest run --all-features +```