Skip to content

Emit an error for invalid item of instruction_set #129002

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

Closed
wants to merge 0 commits into from

Conversation

chansuke
Copy link
Contributor

Closes #128489

Emit an error on invalid item of instruction_set.

This PR merges the instruction_set error handling into rustc_passes/check_attr.rs. This change was necessary because the codegen_attrs only handle the Fn target.

@rustbot
Copy link
Collaborator

rustbot commented Aug 12, 2024

r? @wesleywiser

rustbot has assigned @wesleywiser.
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 Aug 12, 2024
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@chansuke chansuke force-pushed the fix/instruction_set branch from 256ac63 to 92fbd2c Compare August 12, 2024 16:21
@bors
Copy link
Collaborator

bors commented Aug 17, 2024

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

@Dylan-DPC
Copy link
Member

@chansuke if you can resolve the conflicts we can then push this pr forward. Thanks

@Dylan-DPC Dylan-DPC added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 6, 2024
@chansuke chansuke force-pushed the fix/instruction_set branch from 92fbd2c to 35363d5 Compare November 9, 2024 09:33
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@chansuke chansuke force-pushed the fix/instruction_set branch from 4ad825d to d696b47 Compare November 16, 2024 16:50
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@chansuke chansuke force-pushed the fix/instruction_set branch from 564be4b to f3a6be9 Compare November 22, 2024 02:07
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@alex-semenyuk
Copy link
Member

alex-semenyuk commented Dec 28, 2024

@chansuke
From wg-triage. Any updates on this PR? Could you please resolve merge conflicts

@chansuke chansuke closed this Feb 2, 2025
@chansuke chansuke force-pushed the fix/instruction_set branch from 9885bc3 to 8239a37 Compare February 2, 2025 11:42
@chansuke chansuke deleted the fix/instruction_set branch February 2, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

instruction_set attribute can be applied to anything
7 participants