Rework core to be ABI-safe #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| jobs: | |
| miri: | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTFLAGS: --cfg tokio_unstable ${{matrix.rustflags}} | |
| strategy: | |
| matrix: | |
| toolchain: ["nightly-2024-11-22"] | |
| 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 |