aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorVincent Rischmann <vincent@rischmann.fr>2021-10-10 15:10:02 +0200
committerVincent Rischmann <vincent@rischmann.fr>2021-11-16 20:36:50 +0100
commitd7c770fb7f071543c21d91dc2d01f01df81f0cf6 (patch)
tree320c9612fdd250a11d1cef536aec02e63adf04f8 /lib/std/Thread.zig
parent353c59e6d5f32203ade301c609e20c1fa954f73d (diff)
downloadzig-d7c770fb7f071543c21d91dc2d01f01df81f0cf6.tar.gz
zig-d7c770fb7f071543c21d91dc2d01f01df81f0cf6.zip
os: fix getrlimit/setrlimit test for MIPS
This test can fail due to a fix in musl for 32 bit MIPS, where musl changes limits greater than -1UL/2 to RLIM_INFINITY. See http://git.musl-libc.org/cgit/musl/commit/src/misc/getrlimit.c?id=8258014fd1e34e942a549c88c7e022a00445c352 Depending on the system where the test is run getrlimit can return RLIM_INFINITY for example if RLIMIT_MEMLOCK is bigger than ~2GiB. If that happens, the setrlimit call will fail with PermissionDenied.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions