Skip to content

Prevent Windows from displaying UI on errors. #38231

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

Merged
merged 2 commits into from
Dec 11, 2016
Merged

Conversation

vadimcn
Copy link
Contributor

@vadimcn vadimcn commented Dec 7, 2016

Otherwise tests like run-pass/out-of-stack get wedged on Windows error reporting dialog (unless error reporting has been disabled, of course).

@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@vadimcn
Copy link
Contributor Author

vadimcn commented Dec 8, 2016

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned aturon Dec 8, 2016
@alexcrichton
Copy link
Member

Looks good to me, thanks! Could this be added to a different location though? It seems like we should always do this but there's a few early-return locations in the method where it was added.

@vadimcn
Copy link
Contributor Author

vadimcn commented Dec 8, 2016

Ok, I moved it to the top.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Dec 8, 2016

📌 Commit cc16122 has been approved by alexcrichton

@vadimcn
Copy link
Contributor Author

vadimcn commented Dec 8, 2016

Per https://blogs.msdn.microsoft.com/oldnewthing/20040727-00/?p=38323, it's best to preserve inherited flags.
@bors: r=alexcrichton

@bors
Copy link
Collaborator

bors commented Dec 8, 2016

📌 Commit 6404143 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Dec 10, 2016

⌛ Testing commit 6404143 with merge 26c3797...

@alexcrichton
Copy link
Member

@bors: retry force clean

@bors
Copy link
Collaborator

bors commented Dec 10, 2016

⌛ Testing commit 6404143 with merge 8bbe326...

@bors
Copy link
Collaborator

bors commented Dec 10, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@alexcrichton
Copy link
Member

alexcrichton commented Dec 10, 2016 via email

@bors
Copy link
Collaborator

bors commented Dec 10, 2016

⌛ Testing commit 6404143 with merge f82b7cb...

bors added a commit that referenced this pull request Dec 10, 2016
Prevent Windows from displaying UI on errors.

Otherwise tests like run-pass/out-of-stack get wedged on Windows error reporting dialog (unless error reporting has been disabled, of course).
@bors bors merged commit 6404143 into rust-lang:master Dec 11, 2016
@vadimcn vadimcn deleted the errormode branch December 12, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants