Skip to content

Commit 807394c

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 f6d9645 commit 807394c

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
@@ -55,6 +55,7 @@ jobs:
5555
steps:
5656
- uses: actions/checkout@v3
5757
- uses: dtolnay/rust-toolchain@miri
58+
- run: cargo miri setup
5859
- run: cargo miri test
5960
env:
6061
MIRIFLAGS: -Zmiri-strict-provenance

0 commit comments

Comments
 (0)