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 definitions for the s390x-musl target. #2630

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

kaniini
Copy link
Contributor

@kaniini kaniini commented Jan 16, 2022

When I was creating the original s390x musl definitions, I copied a little too closely from glibc for the ioctl(2) constants. This was then exacerbated in c7c238d with the creation of an erroneous definition.

ioctl(2) always takes an int as the request, not a ulong, on musl.
I copied a little too closely from the glibc definitions when creating
the original s390x-musl ones.
On musl, these constants must be ints, not ulongs.  On glibc, they are
ulong, and as such, were erroneously included as ulongs in the initial
s390x-musl definitions.
@rust-highfive
Copy link

r? @Amanieu

(rust-highfive has picked a reviewer for you, use r? to override)

@Amanieu
Copy link
Member

Amanieu commented Jan 16, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Jan 16, 2022

📌 Commit ecb5345 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Jan 17, 2022

⌛ Testing commit ecb5345 with merge f0ba214...

@bors
Copy link
Contributor

bors commented Jan 17, 2022

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing f0ba214 to master...

@bors bors merged commit f0ba214 into rust-lang:master Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants