Closed
Description
Commit 33fd73f appears to have broken the build for uclibc. This command fails:
cargo +nightly check -Zbuild-std --target armv7-unknown-linux-uclibceabihf
...
error[E0599]: no method named `si_addr` found for struct `siginfo_t` in the current scope
--> /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/stack_overflow.rs:84:28
|
84 | let addr = (*info).si_addr() as usize;
| ^^^^^^^ method not found in `siginfo_t`
The problem is that libc does not define that field for uclibc. Whether that's an oversight in libc, or whether uclibc itself doesn't define that field, I don't know.