Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add required winapi features #4664

Closed
wants to merge 1 commit into from
Closed

add required winapi features #4664

wants to merge 1 commit into from

Conversation

dten
Copy link

@dten dten commented May 8, 2022

there are a bunch of features that tokio source uses but not enable itself. this appear to be being enabled through dev-dependencies and the new feature resolution results in them not being on and the code not building in release

fixes #4662

not sure how to test this though... i did it manually by removing all the dev-dependencies and changing to rust 2021

there are a bunch of features that tokio source uses but not enable itself. this appear to be being enabled through dev-dependencies and the new feature resolution results in them not being on and the code not building in release
@Darksonn
Copy link
Contributor

Darksonn commented May 8, 2022

This seems like it is a duplicate of #4663?

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label May 8, 2022
@dten
Copy link
Author

dten commented May 8, 2022

ah yea, great minds and all that 👀 #4663 adds more features than needed and always rather than per feature though

@Darksonn
Copy link
Contributor

Darksonn commented May 8, 2022

Right now I just want to get a fix out. We can fine tune when the features need to be enabled later.

@dten
Copy link
Author

dten commented May 8, 2022

makes sense

@dten dten closed this May 8, 2022
@dten
Copy link
Author

dten commented May 8, 2022

on closer inspection mine's wrong anyway.
process needs winbase handleapi and std, full also needs them for named pipes but can have them via the process feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tokio v1.18.1 not compiling on Windows 10
2 participants