Skip to content

Commit c4425f9

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 ff03842 commit c4425f9

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
@@ -132,6 +132,7 @@ jobs:
132132
steps:
133133
- uses: actions/checkout@v3
134134
- uses: dtolnay/rust-toolchain@miri
135+
- run: cargo miri setup
135136
- run: cargo miri test
136137
env:
137138
MIRIFLAGS: -Zmiri-strict-provenance

0 commit comments

Comments
 (0)