From 6866b24ca1a89fb6e7dbc63e20d8a66ee60a85b8 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 23 Sep 2020 05:55:35 +0900 Subject: ci: deny warnings on '--cfg tokio_unstable' tests (#2859) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61244f90..756a7677 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,7 +91,7 @@ jobs: run: cargo test --features full working-directory: tokio env: - RUSTFLAGS: '--cfg tokio_unstable' + RUSTFLAGS: --cfg tokio_unstable -Dwarnings miri: name: miri @@ -156,7 +156,7 @@ jobs: - name: check --each-feature --unstable run: cargo hack check --all --each-feature -Z avoid-dev-deps env: - RUSTFLAGS: --cfg tokio_unstable + RUSTFLAGS: --cfg tokio_unstable -Dwarnings minrust: name: minrust @@ -239,6 +239,6 @@ jobs: run: cargo test --lib --release --features full -- --nocapture $SCOPE working-directory: tokio env: - RUSTFLAGS: --cfg loom --cfg tokio_unstable + RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings LOOM_MAX_PREEMPTIONS: 2 SCOPE: ${{ matrix.scope }} -- cgit v1.2.3