miri: make miri accept our intrusive linked lists (#4397)

This commit is contained in:
Taiki Endo
2022-02-09 11:11:17 +01:00
committed by GitHub
parent ca51f6a980
commit 1be8e9dfb7
18 changed files with 168 additions and 61 deletions
+6 -4
View File
@@ -188,11 +188,13 @@ jobs:
override: true
- uses: Swatinem/rust-cache@v1
- name: miri
run: |
set -e
rm -rf tests
cargo miri test --features rt,rt-multi-thread,sync task
# Many of tests in tokio/tests and doctests use #[tokio::test] or
# #[tokio::main] that calls epoll_create1 that Miri does not support.
run: cargo miri test --features full --lib --no-fail-fast
working-directory: tokio
env:
MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-tag-raw-pointers
PROPTEST_CASES: 10
san:
name: san