Skip to content

Backport #3537 to libc-0.2 #3737

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 1 commit into from
Jun 16, 2024
Merged

Conversation

operutka
Copy link
Contributor

@operutka operutka commented Jun 5, 2024

Backporting changes from #3537 to fix the following errors when building Rust std on Linux uClibc targets.

error[E0599]: no method named `si_pid` found for struct `siginfo_t` in the current scope
   --> /home/operutka/.rustup/toolchains/nightly-2024-06-05-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs:870:33
    |
870 |             if unsafe { siginfo.si_pid() } == 0 {
    |                                 ^^^^^^ method not found in `siginfo_t`

error[E0599]: no method named `si_status` found for struct `siginfo_t` in the current scope
   --> /home/operutka/.rustup/toolchains/nightly-2024-06-05-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs:908:39
    |
908 |         let status = unsafe { siginfo.si_status() };
    |                                       ^^^^^^^^^ method not found in `siginfo_t`

@rustbot
Copy link
Collaborator

rustbot commented Jun 5, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@JohnTitor JohnTitor added this pull request to the merge queue Jun 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 8, 2024
@operutka
Copy link
Contributor Author

@JohnTitor the pull request has been removed from the merge queue due to some unrelated problems in the CI pipeline. Is there anything I can do to fix this?

Verified

This commit was signed with the committer’s verified signature.
llucax Leandro Lucarella
@JohnTitor JohnTitor enabled auto-merge June 16, 2024 11:08
@JohnTitor JohnTitor added this pull request to the merge queue Jun 16, 2024
Merged via the queue into rust-lang:libc-0.2 with commit f43e101 Jun 16, 2024
57 checks passed
This was referenced Aug 15, 2024
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.

None yet

3 participants