Skip to content

Commit 69e403f

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 babd08b commit 69e403f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
steps:
6767
- uses: actions/checkout@v3
6868
- uses: dtolnay/rust-toolchain@miri
69+
- run: cargo miri setup
6970
- run: cargo miri test
7071
env:
7172
MIRIFLAGS: -Zmiri-strict-provenance

0 commit comments

Comments
 (0)