You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
getcontext() should not be exposed from std.os.linux #23494
The standard library only needs this function for stack unwinding purposes when not linking libc. Currently it's only implemented for x86 and x86_64. It should be moved to std.debug.
We shouldn't be in the business of exposing this function because std.os.linux is not a libc emulation layer, and implementing getcontext() according to libc semantics is more expensive than necessary for the standard library's needs (e.g. due to signal mask).
Activity
mlugg commentedon Oct 1, 2025
Resolved by b64535e