Skip to content

Make issue-96797.rs link again - #166536

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
traviscross:TC/relink-issue-96797-test
Nov 25, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
traviscross:TC/relink-issue-96797-test

Conversation

@traviscross

Copy link
Copy Markdown
Contributor

This is the regression test for #96797. LLVM had merged away a function that global_asm! referred to with sym, causing the build to fail to link.

But the test doesn't link right now. We moved it to minicore (in #154277) and build it as a no_core library, so it would pass even if that function were merged away.

Let's go back to building it as a binary for x86-64 Linux.

r? @Amanieu

@traviscross traviscross added the llm-assisted An LLM-assisted PR as defined by the LLM policy. Requires ahead-of-time consent by assignee. label Nov 25, 2026
@rustbot rustbot added 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. labels Nov 25, 2026
@traviscross
traviscross marked this pull request as ready for review November 25, 2026 01:06
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 25, 2026
@rustbot

This comment was marked as resolved.

@traviscross
traviscross force-pushed the TC/relink-issue-96797-test branch from b275070 to 9e83e68 Compare November 25, 2026 01:12
This is the regression test for Rust issue 96797.  LLVM had merged
away a function that `global_asm!` referred to with `sym`, causing the
build to fail to link.

But the test doesn't link right now.  We moved it to `minicore` (in
Rust PR 154277) and build it as a `no_core` library, so it would pass
even if that function were merged away.

Let's go back to building it as a binary for x86-64 Linux.
@traviscross
traviscross force-pushed the TC/relink-issue-96797-test branch from 9e83e68 to 33e9f69 Compare November 25, 2026 01:27
@Amanieu

Amanieu commented Nov 25, 2026

Copy link
Copy Markdown
Member

@bors r+

@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 33e9f69 has been approved by Amanieu

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-review Status: Awaiting review from the assignee but also interested parties. labels Nov 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup of 9 pull requests

Successful merges:

 - #166438 (add test checking that -Ctarget-feature implies cfg(target_feature))
 - #166536 (Make `issue-96797.rs` link again)
 - #165624 (feat(time): add `Duration` extractors for units larger than second)
 - #166231 (Added regression test for issue #53156 )
 - #166401 (Add explanatory comment and rename alias )
 - #166520 (Fix typo in ConstItemInteriorMutationsDiag struct)
 - #166540 (Return `Err` from `send_process_group_signal` if leader has been awaited)
 - #166544 (rustc-dev-guide subtree update)
 - #166545 (Run more autodiff tests in CI)
@rust-bors
rust-bors Bot merged commit 4e77d94 into rust-lang:main Nov 25, 2026
14 checks passed
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup merge of #166536 - traviscross:TC/relink-issue-96797-test, r=Amanieu

Make `issue-96797.rs` link again

This is the regression test for #96797.  LLVM had merged away a function that `global_asm!` referred to with `sym`, causing the build to fail to link.

But the test doesn't link right now.  We moved it to `minicore` (in #154277) and build it as a `no_core` library, so it would pass even if that function were merged away.

Let's go back to building it as a binary for x86-64 Linux.

r? @Amanieu
@rustbot rustbot added this to the 1.102.0 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

llm-assisted An LLM-assisted PR as defined by the LLM policy. Requires ahead-of-time consent by assignee. 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.

3 participants