From a9490f3d11e2ad19bb53f994fe506e1c2e094d96 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 12:38:55 -0300 Subject: idioms #6, std.Io where the host has one, and libc's reasons where it stays: fonts reads a face's tables through std.Io.File (monospaced takes the walk's io), and each host's libc alias says what it is still for (ptys, sockets passing fds, signal handlers and forked children, O_NONBLOCK opens, inotify, the registry's symlinks, a cancelable task's unlink) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/upgrade.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/upgrade.zig') diff --git a/src/upgrade.zig b/src/upgrade.zig index 0f4532a5..5bd83a30 100644 --- a/src/upgrade.zig +++ b/src/upgrade.zig @@ -15,6 +15,7 @@ //! loaded). const std = @import("std"); const builtin = @import("builtin"); +/// libc: exec of the new build with fds held across it, and /proc/self/exe opened before it. const libc = std.c; const posix = std.posix; const pardes = @import("pardes.zig"); -- cgit v1.3