Skip to content

Add futures trait compatibility #45

Add futures trait compatibility

Add futures trait compatibility #45

Workflow file for this run

name: Miri test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
DEFAULT_MIRI_FLAGS: -Zmiri-ignore-leaks -Zmiri-symbolic-alignment-check -Zmiri-retag-fields=all -Zmiri-symbolic-alignment-check -Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-tree-borrows -Zmiri-track-raw-pointers
jobs:
miri:
runs-on: ubuntu-latest
env:
RUSTFLAGS: --cfg tokio_unstable ${{matrix.rustflags}}
strategy:
matrix:
toolchain: ["nightly-2023-09-01"]
seed: [1, 2, 3, 4, 5, 6, 7, 8]
rustflags: ["", "--cfg mfio_assume_linear_types"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- run: rustup component add miri
- name: Run miri
run: |
MIRIFLAGS="-Zmiri-seed=${{matrix.seed}} ${{env.DEFAULT_MIRI_FLAGS}}" cargo miri test