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

make unsupported_calling_conventions a hard error #129935

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Sep 3, 2024

This has been a future-compat lint (not shown in dependencies) since Rust 1.55, released 3 years ago. Hopefully that was enough time so this can be made a hard error now. Given that long timeframe, I think it's justified to skip the "show in dependencies" stage. There were not many crates hitting this even when the lint was originally added.

This should get cratered, and I assume then it needs a t-compiler FCP.

Fixes #88397

@rustbot
Copy link
Collaborator

rustbot commented Sep 3, 2024

r? @fee1-dead

rustbot has assigned @fee1-dead.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 3, 2024
@rustbot
Copy link
Collaborator

rustbot commented Sep 3, 2024

These commits modify compiler targets.
(See the Target Tier Policy.)

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

@RalfJung
Copy link
Member Author

RalfJung commented Sep 3, 2024

@bors try

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from d933cf5 to 0c5a9b3 Compare September 3, 2024 16:56
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 3, 2024
…ions, r=

make unsupported_calling_conventions a hard error

This has been a future-compat lint (not shown in dependencies) since Rust 1.55, released 3 years ago. Hopefully that was enough time so this can be made a hard error now. Given that long timeframe, I think it's justified to skip the "show in dependencies" stage. There were [not many crates hitting this](rust-lang#86231 (comment)) even when the PR was landed.

This should get cratered, and I assume then it needs a t-compiler FCP.

Fixes rust-lang#88397
@bors
Copy link
Contributor

bors commented Sep 3, 2024

⌛ Testing commit 0c5a9b3 with merge 498fce2...

@rust-log-analyzer

This comment has been minimized.

@RalfJung
Copy link
Member Author

RalfJung commented Sep 3, 2024

Damn, this needs a change in the reference.^^

@ehuss
Copy link
Contributor

ehuss commented Sep 3, 2024

Damn, this needs a change in the reference.^^

Waiting 24 hours will also unblock, since beta week ends.

@bors
Copy link
Contributor

bors commented Sep 3, 2024

☀️ Try build successful - checks-actions
Build commit: 498fce2 (498fce24f39c1ecbb0abe08824e72162da853341)

@RalfJung
Copy link
Member Author

RalfJung commented Sep 3, 2024

@craterbot check
The fact that crater is Linux-only is actually good here; on Windows the ABI keeps being accepted on all targets, only on other OSes does it get rejected.

@craterbot
Copy link
Collaborator

👌 Experiment pr-129935 created and queued.
🤖 Automatically detected try build 498fce2
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 3, 2024
@craterbot
Copy link
Collaborator

🚧 Experiment pr-129935 is now running

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot
Copy link
Collaborator

🎉 Experiment pr-129935 is completed!
📊 29 regressed and 3 fixed (508635 total)
📰 Open the full report.

⚠️ If you notice any spurious failure please add them to the blacklist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@RalfJung
Copy link
Member Author

RalfJung commented Sep 9, 2024

6 crates on crates.io are affected, those all look like genuine regressions. They are all rarely used (the one with most downloads has 12k total downloads, that one also has not seen any updates in 8 years).

I have filed issues for the 4 crates that saw updates in the last 5 years, see the backlinks above.

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from 0c5a9b3 to 2620cb2 Compare September 9, 2024 06:20
@RalfJung
Copy link
Member Author

RalfJung commented Sep 9, 2024

@fee1-dead I think this is then ready for review.

Does it need a t-compiler FCP because it is a breaking change?

@rust-log-analyzer

This comment has been minimized.

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from 2620cb2 to cee68d8 Compare September 9, 2024 07:17
@rust-log-analyzer

This comment has been minimized.

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from cee68d8 to e2e4dc7 Compare September 9, 2024 08:07
@rust-log-analyzer

This comment has been minimized.

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from e2e4dc7 to c9c1f54 Compare September 9, 2024 10:01
@rust-log-analyzer

This comment has been minimized.

@RalfJung RalfJung force-pushed the unsupported_calling_conventions branch from c9c1f54 to 2f63731 Compare September 9, 2024 10:39
@fee1-dead
Copy link
Member

My vibe is that some process would probably need to be followed. I'm currently overloaded so will hand off to another reviewer.

r? compiler

@rustbot rustbot assigned cjgillot and unassigned fee1-dead Sep 9, 2024
@compiler-errors
Copy link
Member

👍

@rfcbot fcp merge

@rfcbot
Copy link

rfcbot commented Sep 11, 2024

Team member @compiler-errors has proposed to merge this. The next step is review by the rest of the tagged team members:

No concerns currently listed.

Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@rfcbot rfcbot added proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. labels Sep 11, 2024
@bors
Copy link
Contributor

bors commented Sep 15, 2024

☔ The latest upstream changes (presumably #128543) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants