libc crate error when building 1.1.13 for alpinelinux
Trying to upgrade the arti
aport on alpinelinux, the builds fail on our CI pipelines with:
error[E0412]: cannot find type `__rlimit_resource_t` in crate `libc`
--> crates/tor-hsservice/src/replay.rs:529:35
|
529 | const RLIM: libc::__rlimit_resource_t = libc::RLIMIT_FSIZE;
| ^^^^^^^^^^^^^^^^^^^ not found in `libc`
For more information about this error, try `rustc --explain E0412`.
error: could not compile `tor-hsservice` (lib test) due to previous error
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60285