Skip to content

Sync cg_gcc subtree 2026-09-29 - #163505

Merged
rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:sync-2026-09-29
Sep 30, 2026
Merged

rust-bors[bot] merged 15 commits into
rust-lang:mainfrom
GuillaumeGomez:sync-2026-09-29

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

cc @antoyo
r? ghost

GuillaumeGomez and others added 15 commits September 24, 2026 13:00
This is a part of the stack-protector work.

Adding support for merge-functions is not strictly needed, but it does
prevent breakage if the GCC function merging logic changes.

Not adding tests for -Z merge-functions since I don't see any such tests for the
LLVM side of it.
Remove rustc_hir's attribute re-exports

Followup to rust-lang#160336, see also rust-lang#163170, rust-lang#163207 and rust-lang/rust-clippy/pull/17714

Very minor touchups here and there, nothing involving code changes.

r? @JonathanBrouwer
@rustbot

rustbot commented Sep 29, 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

@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 29, 2026
@rustbot

rustbot commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • The following commits have merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

    You can start a rebase with the following commands:

    $ # rebase
    $ git pull --rebase https://github.com/rust-lang/rust.git main
    $ git push --force-with-lease
    

@rustbot rustbot added has-merge-commits PR has merge commits, merge with caution. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 29, 2026
@antoyo

antoyo commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@bors r+

@rust-bors

rust-bors Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 71d1c02 has been approved by antoyo

It is now in the queue for this repository.

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 29, 2026
tgross35 added a commit to tgross35/rust that referenced this pull request Sep 29, 2026
…antoyo

Sync cg_gcc subtree 2026-09-29

cc @antoyo
r? ghost
rust-bors Bot pushed a commit that referenced this pull request Sep 29, 2026
Rollup of 8 pull requests

Successful merges:

 - #158102 (When compiling without a specified `--edition`, emit a message)
 - #158936 (Add `std::fs::{Home|Media}Dirs`)
 - #163414 (Add support for span context to `derive(Diagnostic)` and use it)
 - #163481 (triagebot: use r-l/r zulip linkifier for r-l/r rustfmt backport nominations)
 - #163502 (arch::breakpoint: update docs)
 - #163505 (Sync cg_gcc subtree 2026-09-29)
 - #163405 (Remove some #[linkage] options)
 - #163498 (Revert "Rollup merge of #120589 - devnexen:cpuaff_fbsd_upd, r=clarfonthey")
rust-bors Bot pushed a commit that referenced this pull request Sep 29, 2026
Rollup of 8 pull requests

Successful merges:

 - #158102 (When compiling without a specified `--edition`, emit a message)
 - #158936 (Add `std::fs::{Home|Media}Dirs`)
 - #163414 (Add support for span context to `derive(Diagnostic)` and use it)
 - #163481 (triagebot: use r-l/r zulip linkifier for r-l/r rustfmt backport nominations)
 - #163502 (arch::breakpoint: update docs)
 - #163505 (Sync cg_gcc subtree 2026-09-29)
 - #163405 (Remove some #[linkage] options)
 - #163498 (Revert "Rollup merge of #120589 - devnexen:cpuaff_fbsd_upd, r=clarfonthey")
tgross35 added a commit to tgross35/rust that referenced this pull request Sep 30, 2026
…antoyo

Sync cg_gcc subtree 2026-09-29

cc @antoyo
r? ghost
rust-bors Bot pushed a commit that referenced this pull request Sep 30, 2026
Rollup of 7 pull requests

Successful merges:

 - #158936 (Add `std::fs::{Home|Media}Dirs`)
 - #163414 (Add support for span context to `derive(Diagnostic)` and use it)
 - #163481 (triagebot: use r-l/r zulip linkifier for r-l/r rustfmt backport nominations)
 - #163502 (arch::breakpoint: update docs)
 - #163505 (Sync cg_gcc subtree 2026-09-29)
 - #163405 (Remove some #[linkage] options)
 - #163498 (Revert "Rollup merge of #120589 - devnexen:cpuaff_fbsd_upd, r=clarfonthey")
rust-bors Bot pushed a commit that referenced this pull request Sep 30, 2026
Rollup of 6 pull requests

Successful merges:

 - #158936 (Add `std::fs::{Home|Media}Dirs`)
 - #163414 (Add support for span context to `derive(Diagnostic)` and use it)
 - #163481 (triagebot: use r-l/r zulip linkifier for r-l/r rustfmt backport nominations)
 - #163502 (arch::breakpoint: update docs)
 - #163505 (Sync cg_gcc subtree 2026-09-29)
 - #163498 (Revert "Rollup merge of #120589 - devnexen:cpuaff_fbsd_upd, r=clarfonthey")
@rust-bors
rust-bors Bot merged commit f2d2a9d into rust-lang:main Sep 30, 2026
13 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Sep 30, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 30, 2026
Rollup merge of #163505 - GuillaumeGomez:sync-2026-09-29, r=antoyo

Sync cg_gcc subtree 2026-09-29

cc @antoyo
r? ghost
@GuillaumeGomez
GuillaumeGomez deleted the sync-2026-09-29 branch September 30, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-merge-commits PR has merge commits, merge with caution. 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