Open Nugine opened 2 years ago
The three constants defined in libc are different from those defined in <sys/resources.h> on some platforms.
<sys/resources.h>
libc::RLIM_INFINITY libc::RLIM_SAVED_CUR libc::RLIM_SAVED_MAX
Targets
arm-unknown-linux-gnueabi arm-unknown-linux-gnueabihf armv5te-unknown-linux-gnueabi armv7-unknown-linux-gnueabihf i586-unknown-linux-gnu i686-unknown-linux-gnu mips-unknown-linux-gnu mipsel-unknown-linux-gnu powerpc-unknown-linux-gnu
Test code: https://github.com/Nugine/libc-rlim-mismatch/blob/master/src/lib.rs Test result: https://github.com/Nugine/libc-rlim-mismatch/actions/runs/1984774750
This bug is initially discovered in Nugine/rlimit tests.
Test result: https://github.com/Nugine/rlimit/actions/runs/1984623879 Workflow file: https://github.com/Nugine/rlimit/actions/runs/1984623879/workflow Issue: https://github.com/Nugine/rlimit/issues/30
PRs are very welcome! Please link the relevant header, the test results link is dead.
The three constants defined in libc are different from those defined in
<sys/resources.h>
on some platforms.Targets
Test code: https://github.com/Nugine/libc-rlim-mismatch/blob/master/src/lib.rs Test result: https://github.com/Nugine/libc-rlim-mismatch/actions/runs/1984774750
This bug is initially discovered in Nugine/rlimit tests.
Test result: https://github.com/Nugine/rlimit/actions/runs/1984623879 Workflow file: https://github.com/Nugine/rlimit/actions/runs/1984623879/workflow Issue: https://github.com/Nugine/rlimit/issues/30