Skip to content

(chore) clear up some clippy --all-targets warns #129

(chore) clear up some clippy --all-targets warns

(chore) clear up some clippy --all-targets warns #129

Workflow file for this run

name: Loom
on:
workflow_dispatch:
pull_request:
paths:
- 'nexosim/src/channel.rs'
- 'nexosim/src/channel/**'
- 'nexosim/src/executor/task.rs'
- 'nexosim/src/executor/task/**'
- 'nexosim/src/loom_exports.rs'
- 'nexosim/src/ports/output/broadcaster.rs'
- 'nexosim/src/ports/output/broadcaster/**'
- 'nexosim/src/ports/source/broadcaster.rs'
- 'nexosim/src/ports/source/broadcaster/**'
- 'nexosim/src/util/cached_rw_lock.rs'
- 'nexosim/src/util/slot.rs'
- 'nexosim/src/util/sync_cell.rs'
push:
branches: [ main ]
paths:
- 'nexosim/src/channel.rs'
- 'nexosim/src/channel/**'
- 'nexosim/src/executor/task.rs'
- 'nexosim/src/executor/task/**'
- 'nexosim/src/loom_exports.rs'
- 'nexosim/src/ports/output/broadcaster.rs'
- 'nexosim/src/ports/output/broadcaster/**'
- 'nexosim/src/ports/source/broadcaster.rs'
- 'nexosim/src/ports/source/broadcaster/**'
- 'nexosim/src/util/cached_rw_lock.rs'
- 'nexosim/src/util/slot.rs'
- 'nexosim/src/util/sync_cell.rs'
jobs:
loom:
name: Loom
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run cargo test (Loom)
run: cargo test --lib --release
env:
RUSTFLAGS: --cfg nexosim_loom