Skip to content

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Jan 14, 2025

To workaround a hang in link.exe.

Fixes #1553

@bjorn3 bjorn3 added the O-windows Operating system: Windows label Jan 14, 2025
@lqd
Copy link
Member

lqd commented Jan 14, 2025

is it only being disabled for msvc btw? (from a quick look there wasn't code mentioning msvc)

@bjorn3 bjorn3 force-pushed the fix_msvc_linker_hang branch from da12e56 to 5b7d258 Compare January 14, 2025 16:37
@bjorn3
Copy link
Member Author

bjorn3 commented Jan 14, 2025

is it only being disabled for msvc btw?

Yes, it was. I have changed it to disabling it on all Windows targets though as rustc disables it on MinGW already anyway.

@bjorn3 bjorn3 changed the title Disable -Zfunction-sections by default on MSVC Disable -Zfunction-sections by default on Windows Jan 14, 2025
@lqd
Copy link
Member

lqd commented Jan 14, 2025

(Lol the msvc check was right in there I am a doofus)

To workaround a hang in link.exe.
@bjorn3 bjorn3 force-pushed the fix_msvc_linker_hang branch from 5b7d258 to e7609d6 Compare January 14, 2025 16:53
@bjorn3 bjorn3 merged commit 6ef4582 into master Jan 14, 2025
44 of 45 checks passed
@bjorn3 bjorn3 deleted the fix_msvc_linker_hang branch January 14, 2025 17:59
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 20, 2025
…bjorn3

Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: rust-lang/rustc_codegen_cranelift#1554

r? `@ghost`

`@rustbot` label +A-codegen +A-cranelift +T-compiler
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 20, 2025
…bjorn3

Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: rust-lang/rustc_codegen_cranelift#1554

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 20, 2025
Rollup merge of rust-lang#135776 - bjorn3:sync_cg_clif-2025-01-20, r=bjorn3

Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: rust-lang/rustc_codegen_cranelift#1554

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jan 22, 2025
Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: rust-lang/rustc_codegen_cranelift#1554

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
bjorn3 pushed a commit that referenced this pull request Jan 23, 2025
Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: #1554

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
github-merge-queue bot pushed a commit to rust-lang/rust-analyzer that referenced this pull request Feb 10, 2025
Subtree sync for rustc_codegen_cranelift

Nothing too exciting this time, but this includes a fix for a linker hang on Windows: rust-lang/rustc_codegen_cranelift#1554

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-windows Operating system: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest dev version (a642651) hangs forever on link.exe

2 participants