Skip to content

Make fn_abi_sanity_check a bit stricter - #132729

Merged
bors merged 1 commit into
rust-lang:masterfrom
bjorn3:fn_abi_extra_sanity_checks
Nov 7, 2024
Merged

Make fn_abi_sanity_check a bit stricter#132729
bors merged 1 commit into
rust-lang:masterfrom
bjorn3:fn_abi_extra_sanity_checks

Conversation

@bjorn3

@bjorn3 bjorn3 commented Nov 7, 2024

Copy link
Copy Markdown
Member

The Rust ABI must ignore all ZST arguments, all ignored arguments must be either ZST or uninhabited. And finally ScalarPair should never be passed as PassMode::Direct.

The Rust ABI must ignore all ZST arguments, all ignored arguments must
be either ZST or uninhabited. And finally ScalarPair should never be
passed as PassMode::Direct.
@rustbot

rustbot commented Nov 7, 2024

Copy link
Copy Markdown
Collaborator

r? @nnethercote

rustbot has assigned @nnethercote.
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 Nov 7, 2024
@compiler-errors

Copy link
Copy Markdown
Contributor

r? compiler-errors @bors r+ rollup

@bors

bors commented Nov 7, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit c8f0b15 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 7, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 7, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#132638 (Remove fixme comment about clobber_abi on PowerPC)
 - rust-lang#132726 (Remove unused intercrate dependencies)
 - rust-lang#132729 (Make fn_abi_sanity_check a bit stricter)
 - rust-lang#132734 ( remove 'platform-intrinsic' ABI leftovers)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit bf0de1f into rust-lang:master Nov 7, 2024
@rustbot rustbot added this to the 1.84.0 milestone Nov 7, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 7, 2024
Rollup merge of rust-lang#132729 - bjorn3:fn_abi_extra_sanity_checks, r=compiler-errors

Make fn_abi_sanity_check a bit stricter

The Rust ABI must ignore all ZST arguments, all ignored arguments must be either ZST or uninhabited. And finally ScalarPair should never be passed as PassMode::Direct.
@bjorn3
bjorn3 deleted the fn_abi_extra_sanity_checks branch November 9, 2024 10:58
mati865 pushed a commit to mati865/rust that referenced this pull request Nov 12, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#132638 (Remove fixme comment about clobber_abi on PowerPC)
 - rust-lang#132726 (Remove unused intercrate dependencies)
 - rust-lang#132729 (Make fn_abi_sanity_check a bit stricter)
 - rust-lang#132734 ( remove 'platform-intrinsic' ABI leftovers)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

5 participants