Skip to content

Commit 6046674

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 dffcb4b commit 6046674

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
@@ -92,6 +92,7 @@ jobs:
9292
steps:
9393
- uses: actions/checkout@v3
9494
- uses: dtolnay/rust-toolchain@miri
95+
- run: cargo miri setup
9596
- run: cargo miri test
9697
env:
9798
MIRIFLAGS: -Zmiri-strict-provenance

0 commit comments

Comments
 (0)