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

Define newlib socket types by target arch #1481

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

FenrirWolf
Copy link
Contributor

This is a follow-up to #1477. As mentioned in that PR, the primary (only?) users of these newlib definitions are myself and @leo60228. This PR makes it so that my arm-based 3DS target keeps using the old socket definitions while leo's aarch64-based Switch target uses the BSD versions.

The 3DS also has inverted definitions for POLLHUP and POLLOUT for whatever reason, so I figured I'd take care of that here too.

@rust-highfive
Copy link

r? @gnzlbg

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

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 18, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented Aug 18, 2019

📌 Commit 52c9fca has been approved by gnzlbg

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 18, 2019

Style check is failing.

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 18, 2019

@bors: r-

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 19, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented Aug 19, 2019

📌 Commit fd03747 has been approved by gnzlbg

@bors
Copy link
Contributor

bors commented Aug 19, 2019

⌛ Testing commit fd03747 with merge 267a502...

bors added a commit that referenced this pull request Aug 19, 2019
Define newlib socket types by target arch

This is a follow-up to #1477. As mentioned in that PR, the primary (only?) users of these newlib definitions are myself and @leo60228. This PR makes it so that my arm-based 3DS target keeps using the old socket definitions while leo's aarch64-based Switch target uses the BSD versions.

The 3DS also has inverted definitions for `POLLHUP` and `POLLOUT` for whatever reason, so I figured I'd take care of that here too.
@bors
Copy link
Contributor

bors commented Aug 19, 2019

💔 Test failed - status-azure

@leo60228
Copy link
Contributor

Looks like that was a timeout, not an actual error.

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 20, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 20, 2019

⌛ Testing commit fd03747 with merge e03d938...

bors added a commit that referenced this pull request Aug 20, 2019
Define newlib socket types by target arch

This is a follow-up to #1477. As mentioned in that PR, the primary (only?) users of these newlib definitions are myself and @leo60228. This PR makes it so that my arm-based 3DS target keeps using the old socket definitions while leo's aarch64-based Switch target uses the BSD versions.

The 3DS also has inverted definitions for `POLLHUP` and `POLLOUT` for whatever reason, so I figured I'd take care of that here too.
@bors
Copy link
Contributor

bors commented Aug 20, 2019

☀️ Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure
Approved by: gnzlbg
Pushing e03d938 to master...

@bors bors merged commit fd03747 into rust-lang:master Aug 20, 2019
@FenrirWolf FenrirWolf deleted the newlib-socket-fix branch August 20, 2019 16:23
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