aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo/Elf.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-10-08 20:35:34 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-10-29 06:20:48 -0700
commit89412fda775aecdedf4047355f2c45b48334a285 (patch)
tree1aa3818600ec8bdead689f0a60bf507b4c259370 /lib/std/debug/SelfInfo/Elf.zig
parent69b54b0cd12fb90f8ff101bc66e433a81d4b8409 (diff)
downloadzig-89412fda775aecdedf4047355f2c45b48334a285.tar.gz
zig-89412fda775aecdedf4047355f2c45b48334a285.zip
std.Io: implement fileStat
Diffstat (limited to 'lib/std/debug/SelfInfo/Elf.zig')
-rw-r--r--lib/std/debug/SelfInfo/Elf.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/debug/SelfInfo/Elf.zig b/lib/std/debug/SelfInfo/Elf.zig
index 0f3c46e980..035ed584b2 100644
--- a/lib/std/debug/SelfInfo/Elf.zig
+++ b/lib/std/debug/SelfInfo/Elf.zig
@@ -336,6 +336,7 @@ const Module = struct {
var elf_file = load_result catch |err| switch (err) {
error.OutOfMemory,
error.Unexpected,
+ error.Canceled,
=> |e| return e,
error.Overflow,