Skip to content

Commit 5d1c6d1

Browse files
committed
ci: run miri also with tree-borrow model
1 parent 0baa3fd commit 5d1c6d1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/_build-rust.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ jobs:
9898
run: cargo test --verbose
9999
- name: Unit Test with Miri
100100
if: inputs.do-miri
101-
# "--tests" so that the doctests are skipped. Currently, the doctest
102-
# in miri fails.
103101
run: |
104102
rustup component add miri
105-
cargo miri test --tests
103+
# Run with stack-borrow model
104+
cargo miri test
105+
# Run with tree-borrow model
106+
MIRIFLAGS=-Zmiri-tree-borrows cargo +nightly miri test

0 commit comments

Comments
 (0)