From ef9fcf999d2a1a5e30e8688b45d0e80bb2e5e3aa Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Fri, 2 May 2025 15:03:51 -0500 Subject: [PATCH] fix some loom issues --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9816c46a9..4428d1a02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,8 @@ on: push: - branches: ["master", "tokio-*.x"] + branches: [ "master", "tokio-*.x" ] pull_request: - branches: ["master", "tokio-*.x"] + branches: [ "master", "tokio-*.x" ] name: CI @@ -107,7 +107,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -139,7 +139,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -169,7 +169,7 @@ jobs: - name: Install Rust ${{ env.rust_nightly }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_nightly }} + toolchain: ${{ env.rust_nightly }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -197,7 +197,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-hack uses: taiki-e/install-action@v2 with: @@ -237,7 +237,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Enable parking_lot send_guard feature # Inserts the line "plsend = ["parking_lot/send_guard"]" right after [features] @@ -256,7 +256,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.82 + toolchain: 1.82 - name: Install Valgrind uses: taiki-e/install-action@valgrind @@ -295,7 +295,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 @@ -329,7 +329,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 @@ -363,7 +363,7 @@ jobs: - name: Install Rust ${{ env.rust_stable }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.rust_stable }} + toolchain: ${{ env.rust_stable }} - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -842,7 +842,7 @@ jobs: toolchain: ${{ env.rust_stable }} - uses: Swatinem/rust-cache@v2 - name: build --cfg loom - run: cargo test --no-run --lib --features full + run: cargo test --no-run --lib --release --features full working-directory: tokio env: RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings