Skip to content

Conversation

@mati865
Copy link
Member

@mati865 mati865 commented Oct 9, 2025

Cc #146634

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 9, 2025
@mati865
Copy link
Member Author

mati865 commented Oct 9, 2025

Tested locally on Windows but a shareable build would be useful.
@bors try jobs=dist-x86_64-linux,dist-x86_64-windows-gnullvm

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Oct 9, 2025
Windows-gnullvm self-contained

try-job: dist-x86_64-linux
try-job: dist-x86_64-windows-gnullvm
@rust-log-analyzer

This comment was marked as resolved.

@rust-log-analyzer

This comment was marked as resolved.

@rust-bors

This comment was marked as resolved.

@mati865
Copy link
Member Author

mati865 commented Oct 9, 2025

@bors try jobs=dist-x86_64-linux,dist-x86_64-windows-gnullvm

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Oct 9, 2025
Windows-gnullvm self-contained

try-job: dist-x86_64-linux
try-job: dist-x86_64-windows-gnullvm
@rust-bors
Copy link

rust-bors bot commented Oct 9, 2025

☀️ Try build successful (CI)
Build commit: 87a3415 (87a3415f29207b7d5add0b9bd83328ee459e7843, parent: 0b278a539440be291466ea463a9b6310eaf4d7bb)

@petrochenkov petrochenkov self-assigned this Oct 10, 2025
@mati865
Copy link
Member Author

mati865 commented Oct 28, 2025

Seems to work nicely, even with -Zbuild-std without having Clang in PATH.
What's left here is a cleanup and reconsideration of what would be the best way to move this forward.

@estebank
Copy link
Contributor

estebank commented Nov 4, 2025

@mati865 are there any blockers we could help you with?

@mati865
Copy link
Member Author

mati865 commented Nov 5, 2025

@estebank I had a few ideas how to refactor it, but none of them turned out satisfying. I'm going to take another stab at it this week.

@mati865 mati865 force-pushed the gnullvm-self-contained branch from f3f33b7 to 9d27d77 Compare November 10, 2025 20:02
@rust-log-analyzer

This comment has been minimized.

@mati865 mati865 force-pushed the gnullvm-self-contained branch from 9d27d77 to 9f92112 Compare November 11, 2025 12:45
@bors

This comment was marked as resolved.

@mati865 mati865 force-pushed the gnullvm-self-contained branch 2 times, most recently from 48d04c8 to 2b5ac0b Compare November 12, 2025 14:54
@mati865
Copy link
Member Author

mati865 commented Nov 12, 2025

@bors try jobs=dist-x86_64-linux,dist-x86_64-windows-gnullvm

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 12, 2025
Windows-gnullvm self-contained

try-job: dist-x86_64-linux
try-job: dist-x86_64-windows-gnullvm
@rust-bors
Copy link

rust-bors bot commented Nov 12, 2025

☀️ Try build successful (CI)
Build commit: da8dd69 (da8dd699e467041c9cfdc421e44ac8758d9288e2, parent: 2fcbda6c1a70606bdb09857e01d01fc6229da712)

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 21, 2025
Windows-gnullvm self-contained

try-job: dist-aarch64-windows-gnullvm
try-job: dist-x86_64-windows-gnullvm
@rust-bors
Copy link

rust-bors bot commented Nov 21, 2025

☀️ Try build successful (CI)
Build commit: 6a40973 (6a40973a039aeb871f49041a963f94a1cc02f5af, parent: e22dab387f6b4f6a87dfc54ac2f6013dddb41e68)

@mati865 mati865 force-pushed the gnullvm-self-contained branch from d45c4c0 to 3ad8250 Compare November 21, 2025 15:01
@mati865
Copy link
Member Author

mati865 commented Nov 21, 2025

There were two new commits since last review: abb5f3b and d45c4c0. Everything is squashed now.

I've tested x86_64 via Wine using:

❯ rustup-toolchain-install-master -n gnullvm-self-contained 6a40973a039aeb871f49041a963f94a1cc02f5af -i x86_64-pc-windows-gnullvm -c rust-mingw cargo -f

❯ ~/.rustup/toolchains/gnullvm-self-contained/bin/cargo.exe rustc -- -C linker=rust-lld --print link-args

❯ target/debug/hello.exe
0024:err:module:import_dll Library libunwind.dll (which is needed by L"Z:\\tmp\\hello\\target\\debug\\hello.exe") not found
0024:err:module:loader_init Importing dlls for L"Z:\\tmp\\hello\\target\\debug\\hello.exe" failed, status c0000135

❯ ~/.rustup/toolchains/gnullvm-self-contained/bin/cargo.exe rustc -- -C linker=rust-lld --print link-args -C target-feature=+crt-static

❯ target/debug/hello.exe
Hello, world!

@rustbot ready

@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 21, 2025
@mati865 mati865 changed the title Windows-gnullvm self-contained Add rust-mingw component for *-windows-gnullvm hosts Nov 21, 2025
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 21, 2025

📌 Commit 3ad8250 has been approved by petrochenkov

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 21, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 22, 2025
…petrochenkov

Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc rust-lang#146634
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 22, 2025
…petrochenkov

Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc rust-lang#146634
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 22, 2025
…petrochenkov

Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc rust-lang#146634
bors added a commit that referenced this pull request Nov 22, 2025
Rollup of 8 pull requests

Successful merges:

 - #147536 (Add `rust-mingw` component for `*-windows-gnullvm` hosts)
 - #148407 (Warn against calls which mutate an interior mutable `const`-item)
 - #149168 (Fix ICE when collecting opaques from trait method declarations)
 - #149170 (automate gpu offloading - part 1)
 - #149180 (Couple of refactors to SharedEmitter)
 - #149185 (Handle cycles when checking impl candidates for `doc(hidden)`)
 - #149194 (Move safe computation out of unsafe block)
 - #149204 (Fix typo in HashMap performance comment)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Nov 22, 2025
Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc #146634
@bors
Copy link
Collaborator

bors commented Nov 22, 2025

⌛ Testing commit 3ad8250 with merge 94a91dc...

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 22, 2025
…petrochenkov

Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc rust-lang#146634
@matthiaskrgr
Copy link
Member

@bors retry yield rollup

bors added a commit that referenced this pull request Nov 22, 2025
Rollup of 7 pull requests

Successful merges:

 - #147536 (Add `rust-mingw` component for `*-windows-gnullvm` hosts)
 - #148407 (Warn against calls which mutate an interior mutable `const`-item)
 - #149168 (Fix ICE when collecting opaques from trait method declarations)
 - #149170 (automate gpu offloading - part 1)
 - #149185 (Handle cycles when checking impl candidates for `doc(hidden)`)
 - #149194 (Move safe computation out of unsafe block)
 - #149204 (Fix typo in HashMap performance comment)

r? `@ghost`
`@rustbot` modify labels: rollup
@matthiaskrgr
Copy link
Member

@bors rollup=iffy

@bors
Copy link
Collaborator

bors commented Nov 22, 2025

⌛ Testing commit 3ad8250 with merge 4b1b6dd...

bors added a commit that referenced this pull request Nov 22, 2025
Add `rust-mingw` component for `*-windows-gnullvm` hosts

Cc #146634
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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

8 participants