We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ctutils
cargo miri
1 parent 533ac35 commit 703542eCopy full SHA for 703542e
.github/workflows/ctutils.yml
@@ -75,3 +75,19 @@ jobs:
75
- uses: dtolnay/rust-toolchain@nightly
76
- run: cargo install cargo-careful
77
- run: cargo careful test --all-features
78
+
79
+ # Test using `cargo miri`
80
+ test-miri:
81
+ runs-on: ubuntu-latest
82
+ env:
83
+ MIRIFLAGS: "-Zmiri-symbolic-alignment-check -Zmiri-strict-provenance"
84
+ strategy:
85
+ matrix:
86
+ target:
87
+ - x86_64-unknown-linux-gnu
88
+ - s390x-unknown-linux-gnu
89
+ steps:
90
+ - uses: actions/checkout@v6
91
+ - uses: dtolnay/rust-toolchain@nightly
92
+ - run: rustup component add miri && cargo miri setup
93
+ - run: cargo miri test --target ${{ matrix.target }} --all-features --lib
0 commit comments