aboutsummaryrefslogtreecommitdiff
path: root/lib/std/std.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-04 16:03:33 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:07 -0800
commit814480db7cd0ab1d8441919223a88ee411f54ea8 (patch)
tree2bd58c06839d8af32caa507299abb254b04bc248 /lib/std/std.zig
parentd1d2c37af26902f953b2b72335b326c4b01e3bb2 (diff)
downloadzig-814480db7cd0ab1d8441919223a88ee411f54ea8.tar.gz
zig-814480db7cd0ab1d8441919223a88ee411f54ea8.zip
std: all File functions moved to std.Io
Diffstat (limited to 'lib/std/std.zig')
-rw-r--r--lib/std/std.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/std.zig b/lib/std/std.zig
index 5c500d3f55..84e402f52b 100644
--- a/lib/std/std.zig
+++ b/lib/std/std.zig
@@ -173,6 +173,9 @@ pub const Options = struct {
/// If this is `false`, then captured stack traces will always be empty, and attempts to write
/// stack traces will just print an error to the relevant `Io.Writer` and return.
allow_stack_tracing: bool = !@import("builtin").strip_debug_info,
+
+ /// Overrides `std.Io.File.Permissions`.
+ FilePermissions: ?type = null,
};
// This forces the start.zig file to be imported, and the comptime logic inside that