Temporarily disable miri on doctests

This commit is contained in:
David Tolnay 2024-03-24 19:50:50 -07:00
parent 364cd8d8f7
commit 3bfab6ef7f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -154,7 +154,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@miri - uses: dtolnay/rust-toolchain@miri
- run: cargo miri setup - run: cargo miri setup
- run: cd serde && cargo miri test --features derive,rc,unstable - run: cd serde && cargo miri test --features derive,rc,unstable --all-targets # exclude doctests https://github.com/rust-lang/miri/issues/3404
env: env:
MIRIFLAGS: -Zmiri-strict-provenance MIRIFLAGS: -Zmiri-strict-provenance
- run: cd test_suite && cargo miri test --features unstable - run: cd test_suite && cargo miri test --features unstable