Skip to content
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

Fix libstd compile error for windows-gnu targets without backtrace #45739

Merged
merged 1 commit into from
Nov 4, 2017
Merged

Fix libstd compile error for windows-gnu targets without backtrace #45739

merged 1 commit into from
Nov 4, 2017

Conversation

rkarp
Copy link
Contributor

@rkarp rkarp commented Nov 3, 2017

This is basically an addition to #44979. Compiling libstd still fails when targeting windows-gnu with panic = "abort" because the items in the ...c::gnu module are not used. They are only referenced from backtrace_gnu.rs, which is indirectly feature gated behind backtrace here.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@petrochenkov
Copy link
Contributor

@bors r+
Thanks!

@bors
Copy link
Contributor

bors commented Nov 3, 2017

📌 Commit ce3f071 has been approved by petrochenkov

@petrochenkov
Copy link
Contributor

@bors rollup

@kennytm kennytm added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 3, 2017
kennytm added a commit to kennytm/rust that referenced this pull request Nov 4, 2017
Fix libstd compile error for windows-gnu targets without `backtrace`

This is basically an addition to rust-lang#44979. Compiling `libstd` still fails when targeting `windows-gnu` with `panic = "abort"` because the items in the `...c::gnu` module are not used. They are only referenced from `backtrace_gnu.rs`, which is indirectly feature gated behind `backtrace` [here](https://github.com/rust-lang/rust/blob/9f3b09116b742b2606dc5f36f9145e0c89e4010b/src/libstd/sys/windows/mod.rs#L23).
bors added a commit that referenced this pull request Nov 4, 2017
Rollup of 9 pull requests

- Successful merges: #45548, #45610, #45639, #45669, #45681, #45718, #45722, #45739, #45746
- Failed merges:
@bors bors merged commit ce3f071 into rust-lang:master Nov 4, 2017
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants