Skip to content

Backport #3537 to libc-0.2#3737

Merged
JohnTitor merged 1 commit intorust-lang:libc-0.2from
operutka:si_pid_uclibc
Jun 16, 2024
Merged

Backport #3537 to libc-0.2#3737
JohnTitor merged 1 commit intorust-lang:libc-0.2from
operutka:si_pid_uclibc

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?

@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
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.

3 participants