Skip to content

Commit 238cbab

Browse files
committed
Show error details during miri setup in CI
Without this, if it fails, the only information printed is useless: Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)... fatal error: failed to build sysroot; run `cargo miri setup` to see the error details
1 parent be271b7 commit 238cbab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
steps:
7070
- uses: actions/checkout@v3
7171
- uses: dtolnay/rust-toolchain@miri
72+
- run: cargo miri setup
7273
- run: cargo miri test
7374
env:
7475
MIRIFLAGS: -Zmiri-strict-provenance

0 commit comments

Comments
 (0)