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
This commit is contained in:
David Tolnay 2023-05-23 08:29:47 -07:00
parent fccb9499bc
commit a0f850f15b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -149,6 +149,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri setup
- run: cd serde && cargo miri test --features derive,rc,unstable
env:
MIRIFLAGS: -Zmiri-strict-provenance