Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add bootstrap.toml option to control debug breaking on ICEs on windows #145976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
beepster4096 wants to merge 1 commit into rust-lang:master
base: master
Choose a base branch
Loading
from beepster4096:configure_debugbreak

Conversation

Copy link
Contributor

@beepster4096 beepster4096 commented Aug 29, 2025

When rustc ICEs during bootstrap on Windows, it will call DebugBreak. This is intended to trigger a Windows Error Reporting dialog that can launch a debugger. However on some setups (mine for one) this will just abort the process, hiding any ICEs on other threads as well. I also would not want to see this dialog even if it did work for me.

This PR adds a new option to bootstrap.toml rust.break-on-ice to configure this behavior. By default, it is enabled, matching the existing behavior.

Copy link
Collaborator

rustbot commented Aug 29, 2025

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Copy link
Collaborator

rustbot commented Aug 29, 2025

This PR modifies src/bootstrap/src/core/config.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

This PR modifies bootstrap.example.toml.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 29, 2025
Copy link
Contributor

LGTM - r=me if you wouldn't mind squashing

beepster4096 reacted with thumbs up emoji

Copy link
Collaborator

bors commented Sep 1, 2025

☔ The latest upstream changes (presumably #145663) made this pull request unmergeable. Please resolve the merge conflicts.

Copy link
Collaborator

rustbot commented Sep 2, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Copy link
Contributor Author

Done! Sorry about the delay.

Copy link
Contributor

@bors r+ rollup

Copy link
Collaborator

bors commented Sep 4, 2025

📌 Commit 768dcbe has been approved by clubby789

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 Sep 4, 2025
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 4, 2025
... r=clubby789
Add bootstrap.toml option to control debug breaking on ICEs on windows
When rustc ICEs during bootstrap on Windows, it will call `DebugBreak`. This is intended to trigger a Windows Error Reporting dialog that can launch a debugger. However on some setups (mine for one) this will just abort the process, hiding any ICEs on other threads as well. I also would not want to see this dialog even if it did work for me.
This PR adds a new option to bootstrap.toml `rust.break-on-ice` to configure this behavior. By default, it is enabled, matching the existing behavior.
bors added a commit that referenced this pull request Sep 4, 2025
Rollup of 4 pull requests
Successful merges:
 - #145976 (Add bootstrap.toml option to control debug breaking on ICEs on windows)
 - #146151 (fixes auto-run js checks in tidy)
 - #146194 (fix path str eq)
 - #146197 (triagebot: fix rustc_allow_const_fn_unstable matcher)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@clubby789 clubby789 clubby789 left review comments

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)
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /