Skip to content

windows-sys v0.59.0 (latest version) hits a FCW on the latest nightly #142330

Description

@tgross35

I happened to notice this on the playground https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=ef32dafd88af58c9b698a698fd39d818:

warning: the following packages contain code that will be rejected by a future version of Rust: windows-sys v0.59.0

It appears on nightly but not beta so this must be from a recent change. I don't currently have access to a Windows machine to check out what the error actually is, but considering windows-sys is a top 100 crate, we should probably consider removing the relevant lint from report_in_deps before the beta branch to give some migration time. Otherwise almost everybody developing on Windows is going to have a new error that they can't do much about.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-future-incompatibilityCategory: Future-incompatibility lintsO-windowsOperating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions