-
Notifications
You must be signed in to change notification settings - Fork 1.2k
uclibc: cannot find value AT_MINSIGSTKSZ #5039
Copy link
Copy link
Open
Description
Compiling std v0.0.0 (~/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std)
error[E0425]: cannot find value `AT_MINSIGSTKSZ` in crate `libc`
--> ~/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/unix/stack_overflow.rs:310:63
|
310 | ...fe { libc::getauxval(libc::AT_MINSIGSTKSZ) };
| ^^^^^^^^^^^^^^
|
::: ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/linux/uclibc/mod.rs:400:1
|
400 | pub const MINSIGSTKSZ: c_int = 2048;
| ---------------------------- similarly named constant `MINSIGSTKSZ` defined here
|
help: a constant with a similar name exists
|
310 - let dynamic_sigstksz = unsafe { libc::getauxval(libc::AT_MINSIGSTKSZ) };
310 + let dynamic_sigstksz = unsafe { libc::getauxval(libc::MINSIGSTKSZ) };
|
For more information about this error, try `rustc --explain E0425`.
error: could not compile `std` (lib) due to 1 previous error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.