-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
passing --stack to zig test
makes the getrlimit/setrlimit test case fail
#18395
Labels
bug
Observed behavior contradicts documented or intended behavior
os-macos
standard library
This issue involves writing Zig code for the standard library.
Milestone
Comments
andrewrk
added
bug
Observed behavior contradicts documented or intended behavior
standard library
This issue involves writing Zig code for the standard library.
os-macos
labels
Dec 29, 2023
to me the trace makes it look like the error is from picking a number larger than |
THIS. IS. APPLE. KERNEL. case RLIMIT_STACK:
if (p->p_lflag & P_LCUSTOM_STACK) {
/* Process has a custom stack set - rlimit cannot be used to change it */
error = EINVAL;
goto out;
} |
Nice, OK that's fine actually. We just need to not call setrlimit on the stack size in that std lib test. |
mikdusan
added a commit
to mikdusan/zig
that referenced
this issue
Feb 23, 2024
- skip only RLIMIT_STACK test on macos closes ziglang#18395
mikdusan
added a commit
to mikdusan/zig
that referenced
this issue
Feb 24, 2024
- skip only RLIMIT_STACK test on macos closes ziglang#18395
andrewrk
pushed a commit
that referenced
this issue
Feb 25, 2024
- skip only RLIMIT_STACK test on macos closes #18395
Rexicon226
pushed a commit
to Rexicon226/zig
that referenced
this issue
Feb 25, 2024
- skip only RLIMIT_STACK test on macos closes ziglang#18395
RossComputerGuy
pushed a commit
to ExpidusOS-archive/zig
that referenced
this issue
Mar 20, 2024
- skip only RLIMIT_STACK test on macos closes ziglang#18395
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Observed behavior contradicts documented or intended behavior
os-macos
standard library
This issue involves writing Zig code for the standard library.
zig/lib/std/os/test.zig
Lines 754 to 776 in b0dba46
It has something to do with these lines:
This is problematic because we want to be able to control the stack size from the compiler/linker. Relevant issues:
cc @kubkon
The text was updated successfully, but these errors were encountered: