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

Why is windows-sys not updating? #3028

Closed
HoShiMin opened this issue May 11, 2024 · 5 comments
Closed

Why is windows-sys not updating? #3028

HoShiMin opened this issue May 11, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@HoShiMin
Copy link

Suggestion

As the windows-sys doesn't get new releases, I can't use it due to old critical bugs like #2612. So, what about new release?

@HoShiMin HoShiMin added the enhancement New feature or request label May 11, 2024
@ChrisDenton
Copy link
Collaborator

The windows-sys crate is not published regularly to avoid version churn.

You can however request an update.

@HoShiMin
Copy link
Author

HoShiMin commented May 11, 2024

@ChrisDenton,

to avoid version churn.

But why is it bad? windows-sys is very important for development in no-std environments like kernel drivers and we are stuck on legacy version with critical bugs - so, instead of just using Cargo, we have to link it directly as a git repo to use the latest version. And what is the gain?

You can however request an update.

How could I do that?

@ChrisDenton
Copy link
Collaborator

But why is it bad? windows-sys is very important for development in no-std environments like kernel drivers and we are stuck on legacy version with critical bugs - so, instead of just using Cargo, we have to link it directly as a git repo to use the latest version. And what is the gain?

It used to be released regularly. People complained. The trouble is that when a new version of windows-sys is released, every crate that depends on it also has to update otherwise users will get multiple versions in their dependency graph, slowing compile times. Therefore updates are now done on an as-needed basis.

How could I do that?

You have already done so by making this issue.

@HoShiMin
Copy link
Author

@ChrisDenton,

You have already done so by making this issue.

Well, it would be great if it will be updated right after fixing microsoft/wdkmetadata#67 as it's the only thing for me that prevents the use of windows-sys.

@kennykerr
Copy link
Collaborator

Feel free to circle back when the metadata issues have been resolved and you've tested with windows-rs and are ready for production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants