-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
os-linuxstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
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).
rootbeer
Metadata
Metadata
Assignees
Labels
os-linuxstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.