Skip to content

Add resolver = "2" to root Cargo.toml #4357

@Darksonn

Description

@Darksonn

Currently by not enabling the new feature resolver, test features are enabled even when building Tokio in non-test mode. This means e.g. that we never build Tokio with only the fs feature in CI because test-util depends on the rt feature, enabling that too.

Adding the resolver = "2" option to our workspace Cargo.toml fixes the issue on new rustc versions, but it causes our MSRV to emit an error when building Tokio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ciArea: The continuous integration setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions