diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3958755d5..d0d1366e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -207,7 +207,7 @@ jobs: # in order to run doctests for unstable features, we must also pass # the unstable cfg to RustDoc RUSTDOCFLAGS: --cfg tokio_unstable - + test-unstable-taskdump: name: test tokio full --unstable --taskdump needs: basics @@ -399,10 +399,10 @@ jobs: RUSTFLAGS: --cfg tokio_unstable --cfg tokio_taskdump -Dwarnings --cfg tokio_no_atomic_u64 # https://github.com/tokio-rs/tokio/pull/5356 # https://github.com/tokio-rs/tokio/issues/5373 - - run: cargo hack build -p tokio --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going + - run: cargo hack build -p tokio --feature-powerset --depth 2 --keep-going env: RUSTFLAGS: --cfg tokio_unstable --cfg tokio_taskdump -Dwarnings --cfg tokio_no_atomic_u64 --cfg tokio_no_const_mutex_new - - run: cargo hack build -p tokio --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going + - run: cargo hack build -p tokio --feature-powerset --depth 2 --keep-going env: RUSTFLAGS: --cfg tokio_unstable --cfg tokio_taskdump -Dwarnings --cfg tokio_no_atomic_u64 @@ -421,15 +421,15 @@ jobs: - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - name: check --feature-powerset - run: cargo hack check --all --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going + run: cargo hack check --all --feature-powerset --depth 2 --keep-going # Try with unstable feature flags - name: check --feature-powerset --unstable - run: cargo hack check --all --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going + run: cargo hack check --all --feature-powerset --depth 2 --keep-going env: RUSTFLAGS: --cfg tokio_unstable -Dwarnings # Try with unstable and taskdump feature flags - name: check --feature-powerset --unstable --taskdump - run: cargo hack check --all --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going + run: cargo hack check --all --feature-powerset --depth 2 --keep-going env: RUSTFLAGS: --cfg tokio_unstable --cfg tokio_taskdump -Dwarnings diff --git a/Cargo.toml b/Cargo.toml index bc01f1862..f3e19312e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] - +resolver = "2" members = [ "tokio", "tokio-macros", diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index da7988ce1..92897a485 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -132,7 +132,7 @@ nix = { version = "0.26", default-features = false, features = ["fs", "socket"] version = "0.48" optional = true -[target.'cfg(docsrs)'.dependencies.windows-sys] +[target.'cfg(windows)'.dev-dependencies.windows-sys] version = "0.48" features = [ "Win32_Foundation",