mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-03 00:00:05 +02:00
fix some loom issues
This commit is contained in:
+12
-12
@@ -1,8 +1,8 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master", "tokio-*.x"]
|
branches: [ "master", "tokio-*.x" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["master", "tokio-*.x"]
|
branches: [ "master", "tokio-*.x" ]
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -169,7 +169,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_nightly }}
|
- name: Install Rust ${{ env.rust_nightly }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_nightly }}
|
toolchain: ${{ env.rust_nightly }}
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -197,7 +197,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -237,7 +237,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
|
|
||||||
- name: Enable parking_lot send_guard feature
|
- name: Enable parking_lot send_guard feature
|
||||||
# Inserts the line "plsend = ["parking_lot/send_guard"]" right after [features]
|
# Inserts the line "plsend = ["parking_lot/send_guard"]" right after [features]
|
||||||
@@ -256,7 +256,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.82
|
toolchain: 1.82
|
||||||
|
|
||||||
- name: Install Valgrind
|
- name: Install Valgrind
|
||||||
uses: taiki-e/install-action@valgrind
|
uses: taiki-e/install-action@valgrind
|
||||||
@@ -295,7 +295,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
|
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
@@ -329,7 +329,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
|
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
@@ -363,7 +363,7 @@ jobs:
|
|||||||
- name: Install Rust ${{ env.rust_stable }}
|
- name: Install Rust ${{ env.rust_stable }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
- name: Install cargo-nextest
|
- name: Install cargo-nextest
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -842,7 +842,7 @@ jobs:
|
|||||||
toolchain: ${{ env.rust_stable }}
|
toolchain: ${{ env.rust_stable }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: build --cfg loom
|
- name: build --cfg loom
|
||||||
run: cargo test --no-run --lib --features full
|
run: cargo test --no-run --lib --release --features full
|
||||||
working-directory: tokio
|
working-directory: tokio
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings
|
RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings
|
||||||
|
|||||||
Reference in New Issue
Block a user