-
Notifications
You must be signed in to change notification settings - Fork 13.4k
windows-sys
v0.59.0 (latest version) hits a FCW on the latest nightly
#142330
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
Comments
Cc @kennykerr since I believe you maintain windows-sys |
Probably code involving |
That makes perfect sense, #141435 includes rust/compiler/rustc_lint_defs/src/builtin.rs Line 3667 in 1c04750
report_in_deps for a version or two so windows-sys has a chance to migrate?
|
Linking Zulip discussion https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/windows-sys.20FCW |
I am revising my guess: it actually is probably usages of |
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. |
Does someone have the actual full error that is being emitted, not just that one-line summary?
Makes sense. |
I'm at a PC now so yes I do: warnings.txt |
To snip one of the messages from the file:
Indeed seems to be cdecl. (When somebody updates this lint, probably wouldn't hurt to add the CC name to the warning message - it's a bit hidden in the macro here.) |
Opened #142353 to nerf the linting on the relevant fronts for now so we can have this discussion. |
And that was building for an x86_64 windows target, I assume? Yeah then we would indeed complain about cdecl now. |
…cl-and-other-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…cl-and-other-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…cl-and-other-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…cl-and-other-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…r-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss #142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in #141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…cl-and-other-abis, r=RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
…r-abis, r=ChrisDenton,RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss #142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in #141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
#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
|
Isn't #137018 the more natural place for that discussion? |
Feel free to close this issue in favor of that if that issue is more suitable :) I was just looking at |
…r-abis, r=ChrisDenton,RalfJung compiler: Ease off the accelerator on `unsupported_calling_conventions` This is to give us more time to discuss rust-lang/rust#142330 without the ecosystem having an anxiety attack. I have withdrawn `unsupported_calling_conventions` from report-in-deps I believe we should consider this a simple suspension of the decision in rust-lang/rust#141435 to start this process, rather than a reversal. That is, we may continue with linting again. But I believe we are about to get a... reasonable amount of feedback just from currently available information and should allow ourselves time to process it.
I happened to notice this on the playground https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=ef32dafd88af58c9b698a698fd39d818:
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 fromreport_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.The text was updated successfully, but these errors were encountered: