Skip to content

Adding into_raw() and from_raw() methods #109

Adding into_raw() and from_raw() methods

Adding into_raw() and from_raw() methods #109

Workflow file for this run

name: Cargo build and test
on: [pull_request, workflow_dispatch]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "--deny warnings "
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta]
include:
- os: ubuntu-latest
rust: nightly
- os: ubuntu-latest
# MSRV. Not considered breaking when this has to be bumped.
# But should be mentioned in the changelog.
rust: 1.60.0
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: ATiltedTree/[email protected]
with:
rust-version: ${{ matrix.rust }}
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Build
run: cargo build
- name: Test
run: cargo hack --feature-powerset test
- name: Test with artificial delay
run: RUSTFLAGS+="--cfg oneshot_test_delay" cargo hack --feature-powerset test
- name: Test with loom
run: RUSTFLAGS+="--cfg loom" LOOM_MAX_BRANCHES=100000 cargo hack --feature-powerset test --test sync --test loom