Skip to content

Remove return type from BuilderMethods::store - #165468

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
beetrees:no-store-return
Nov 5, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
beetrees:no-store-return

Conversation

@beetrees

@beetrees beetrees commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The return type is an artefact of how LLVM's API works and is unused, so this PR removes it.

r? @antoyo

@rustbot

rustbot commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

rustc_codegen_gcc is developed in its own repository. If possible, consider making this change to rust-lang/rustc_codegen_gcc instead.

cc @antoyo, @GuillaumeGomez

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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 4, 2026
@antoyo

antoyo commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The change looks OK to me, but I'd prefer someone more knowledgeable about cg_ssa and cg_llvm to review this.
Maybe @bjorn3?

@beetrees

beetrees commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

r? @bjorn3

@rustbot rustbot assigned bjorn3 and unassigned antoyo Nov 4, 2026
@bjorn3

bjorn3 commented Nov 4, 2026

Copy link
Copy Markdown
Member

@bors r=GuillaumeGomez,antoyo,bjorn3

@rust-bors

rust-bors Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 0512c66 has been tentatively approved by GuillaumeGomez,antoyo,bjorn3

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot 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 4, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 5, 2026
…umeGomez,antoyo,bjorn3

Remove return type from `BuilderMethods::store`

The return type is an artefact of how LLVM's API works and is unused, so this PR removes it.

r? @antoyo
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 5, 2026
…umeGomez,antoyo,bjorn3

Remove return type from `BuilderMethods::store`

The return type is an artefact of how LLVM's API works and is unused, so this PR removes it.

r? @antoyo
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
Rollup of 13 pull requests

Successful merges:

 - #163477 (Fancy paramenv accessors that communicate the access pattern better.)
 - #160593 (turn ABI-controlling target features into a target modifier)
 - #164896 (offload: pass the linked device image to the host pass)
 - #165468 (Remove return type from `BuilderMethods::store`)
 - #159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name])
 - #164564 (Re-enable outline-atomics by default on more AArch64 platforms)
 - #164623 (add next-solver regression tests for two fixed ices)
 - #164678 (add next-solver regression test for recursive opaque ICE under validate-mir)
 - #165429 (Add tests for `-Zcrate-attr` edition and position)
 - #165430 ([tiny] Show context for found assoc item in E0107)
 - #165456 (std: Fix build for the L4Re targets)
 - #165463 (Add BTreeMap::allocator and BTreeSet::allocator)
 - #165466 (Don't "exit" using `panic` on teeos)
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
Rollup of 15 pull requests

Successful merges:

 - #163477 (Fancy paramenv accessors that communicate the access pattern better.)
 - #160593 (turn ABI-controlling target features into a target modifier)
 - #164896 (offload: pass the linked device image to the host pass)
 - #165468 (Remove return type from `BuilderMethods::store`)
 - #164564 (Re-enable outline-atomics by default on more AArch64 platforms)
 - #164623 (add next-solver regression tests for two fixed ices)
 - #164653 (Deprecate internal function `vec::from_elem`)
 - #164678 (add next-solver regression test for recursive opaque ICE under validate-mir)
 - #165387 (windows OpenOptionsExt examples: replace winapi by windows crate)
 - #165429 (Add tests for `-Zcrate-attr` edition and position)
 - #165430 ([tiny] Show context for found assoc item in E0107)
 - #165456 (std: Fix build for the L4Re targets)
 - #165463 (Add BTreeMap::allocator and BTreeSet::allocator)
 - #165466 (Don't "exit" using `panic` on teeos)
 - #165491 (Remove unused compiler types and associated helpers)
@rust-bors
rust-bors Bot merged commit 4c07ba9 into rust-lang:main Nov 5, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Nov 5, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
Rollup merge of #165468 - beetrees:no-store-return, r=GuillaumeGomez,antoyo,bjorn3

Remove return type from `BuilderMethods::store`

The return type is an artefact of how LLVM's API works and is unused, so this PR removes it.

r? @antoyo
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Nov 12, 2026
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#163477 (Fancy paramenv accessors that communicate the access pattern better.)
 - rust-lang/rust#160593 (turn ABI-controlling target features into a target modifier)
 - rust-lang/rust#164896 (offload: pass the linked device image to the host pass)
 - rust-lang/rust#165468 (Remove return type from `BuilderMethods::store`)
 - rust-lang/rust#164564 (Re-enable outline-atomics by default on more AArch64 platforms)
 - rust-lang/rust#164623 (add next-solver regression tests for two fixed ices)
 - rust-lang/rust#164653 (Deprecate internal function `vec::from_elem`)
 - rust-lang/rust#164678 (add next-solver regression test for recursive opaque ICE under validate-mir)
 - rust-lang/rust#165387 (windows OpenOptionsExt examples: replace winapi by windows crate)
 - rust-lang/rust#165429 (Add tests for `-Zcrate-attr` edition and position)
 - rust-lang/rust#165430 ([tiny] Show context for found assoc item in E0107)
 - rust-lang/rust#165456 (std: Fix build for the L4Re targets)
 - rust-lang/rust#165463 (Add BTreeMap::allocator and BTreeSet::allocator)
 - rust-lang/rust#165466 (Don't "exit" using `panic` on teeos)
 - rust-lang/rust#165491 (Remove unused compiler types and associated helpers)
mehmettoplu-rs pushed a commit to mehmettoplu-rs/rustc_codegen_gcc that referenced this pull request Nov 22, 2026
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#163477 (Fancy paramenv accessors that communicate the access pattern better.)
 - rust-lang/rust#160593 (turn ABI-controlling target features into a target modifier)
 - rust-lang/rust#164896 (offload: pass the linked device image to the host pass)
 - rust-lang/rust#165468 (Remove return type from `BuilderMethods::store`)
 - rust-lang/rust#164564 (Re-enable outline-atomics by default on more AArch64 platforms)
 - rust-lang/rust#164623 (add next-solver regression tests for two fixed ices)
 - rust-lang/rust#164653 (Deprecate internal function `vec::from_elem`)
 - rust-lang/rust#164678 (add next-solver regression test for recursive opaque ICE under validate-mir)
 - rust-lang/rust#165387 (windows OpenOptionsExt examples: replace winapi by windows crate)
 - rust-lang/rust#165429 (Add tests for `-Zcrate-attr` edition and position)
 - rust-lang/rust#165430 ([tiny] Show context for found assoc item in E0107)
 - rust-lang/rust#165456 (std: Fix build for the L4Re targets)
 - rust-lang/rust#165463 (Add BTreeMap::allocator and BTreeSet::allocator)
 - rust-lang/rust#165466 (Don't "exit" using `panic` on teeos)
 - rust-lang/rust#165491 (Remove unused compiler types and associated helpers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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