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

Add siginfo accessors for uclibc #2750

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

pfmooney
Copy link
Contributor

With rust-lang/rust#95688 switching to the libc-provided si_addr() accessor on siginfo_t, it became apparent that the uclibc target was lacking that implementation (see rust-lang/rust#95866).

It would be nice to provide the same accessor in uclibc as the other UNIX-y platforms.

CC: @asomers @name1e5s @skrap - If you have a testing env for this, could you try it out?

@rust-highfive
Copy link

r? @Amanieu

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

@skrap
Copy link
Contributor

skrap commented Apr 11, 2022

CC: @asomers @name1e5s @skrap - If you have a testing env for this, could you try it out?

Trying it out now!

@skrap
Copy link
Contributor

skrap commented Apr 11, 2022

Builds and tests pass with armv7-eabihf--uclibc--bleeding-edge-2021.11 from https://toolchains.bootlin.com/ !

@Amanieu
Copy link
Member

Amanieu commented Apr 12, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Apr 12, 2022

📌 Commit da00f55 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Apr 12, 2022

⌛ Testing commit da00f55 with merge 95aae38...

@bors
Copy link
Contributor

bors commented Apr 12, 2022

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

@bors bors merged commit 95aae38 into rust-lang:master Apr 12, 2022
@asomers asomers mentioned this pull request Apr 12, 2022
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 6, 2022
bump libc version for uclibc fixes

closes rust-lang#95866

The required functions have been added to libc in rust-lang/libc#2750.  That change made it into libc 0.2.124, but this just takes the latest libc.
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.

5 participants