You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
windows-sys v0.59.0 (latest version) hits a FCW on the latest nightly #142330
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.
I agree that emitting an FCW on every windows build is really bad, we should back that out again. I can do that but will only get to it later today, so if someone else wants to do it that'd be great.
#142353 merged to downgrade the FCW to not report-in-deps1, so I believe this is no longer P-critical for prioritization purposes, but the long term discussion of how to transition the FCW to report-in-deps I believe is still outstanding (so this issue should be kept open).
Activity
tgross35 commentedon Jun 11, 2025
Cc @kennykerr since I believe you maintain windows-sys
workingjubilee commentedon Jun 11, 2025
Probably code involving
extern "stdcall", cc @RalfJungtgross35 commentedon Jun 11, 2025
That makes perfect sense, #141435 includes
rust/compiler/rustc_lint_defs/src/builtin.rs
Line 3667 in 1c04750
report_in_depsfor a version or two sowindows-syshas a chance to migrate?tgross35 commentedon Jun 11, 2025
Linking Zulip discussion https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/windows-sys.20FCW
workingjubilee commentedon Jun 11, 2025
I am revising my guess: it actually is probably usages of
extern "cdecl".Noratrieb commentedon Jun 11, 2025
I agree that emitting an FCW on every windows build is really bad, we should back that out again. I can do that but will only get to it later today, so if someone else wants to do it that'd be great.
4 remaining items
RalfJung commentedon Jun 11, 2025
And that was building for an x86_64 windows target, I assume? Yeah then we would indeed complain about cdecl now.
Rollup merge of rust-lang#142353 - workingjubilee:warn-less-about-cde…
Rollup merge of rust-lang#142353 - workingjubilee:warn-less-about-cde…
Rollup merge of rust-lang#142353 - workingjubilee:warn-less-about-cde…
Rollup merge of rust-lang#142353 - workingjubilee:warn-less-about-cde…
Auto merge of #142353 - workingjubilee:warn-less-about-cdecl-and-othe…
Rollup merge of rust-lang#142353 - workingjubilee:warn-less-about-cde…
Auto merge of #142353 - workingjubilee:warn-less-about-cdecl-and-othe…
jieyouxu commentedon Jun 14, 2025
#142353 merged to downgrade the FCW to not report-in-deps1, so I believe this is no longer P-critical for prioritization purposes, but the long term discussion of how to transition the FCW to report-in-deps I believe is still outstanding (so this issue should be kept open).
@rustbot label: -P-critical
Footnotes
In the short term. ↩
RalfJung commentedon Jun 14, 2025
Isn't #137018 the more natural place for that discussion?
jieyouxu commentedon Jun 14, 2025
Feel free to close this issue in favor of that if that issue is more suitable :) I was just looking at
P-criticalsAuto merge of #142353 - workingjubilee:warn-less-about-cdecl-and-othe…