Skip to content

Replace non-atomic load with an atomic one #80

Replace non-atomic load with an atomic one

Replace non-atomic load with an atomic one #80

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.60.0
with:
components: rustfmt
- run: cargo fmt -- --check
- run: cargo test
- run: cargo bench
miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup toolchain install nightly --component miri && rustup default nightly
- run: cargo miri test
env:
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout