diff options
| author | Jan Philipp Hafer <jan.hafer@rwth-aachen.de> | 2022-12-06 22:21:23 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-01-23 02:07:12 -0500 |
| commit | 55e879d2eda0a73b73778923dd4bbc6904aa107c (patch) | |
| tree | 56082547c86fdc20a6abcf1cc666821fda6958da /src | |
| parent | 3cb1ab0e055320702a96398959e13761cb2bfc5a (diff) | |
| download | zig-55e879d2eda0a73b73778923dd4bbc6904aa107c.tar.gz zig-55e879d2eda0a73b73778923dd4bbc6904aa107c.zip | |
std.os.windows: add possible error NETNAME_DELETED of ReadFile
Closes #13631
Diffstat (limited to 'src')
| -rw-r--r-- | src/link.zig | 1 | ||||
| -rw-r--r-- | src/main.zig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig index 2317525827..976debb72b 100644 --- a/src/link.zig +++ b/src/link.zig @@ -489,6 +489,7 @@ pub const File = struct { NameTooLong, CurrentWorkingDirectoryUnlinked, LockViolation, + NetNameDeleted, }; /// Called from within the CodeGen to lower a local variable instantion as an unnamed diff --git a/src/main.zig b/src/main.zig index 9455bc328a..a012a51300 100644 --- a/src/main.zig +++ b/src/main.zig @@ -4482,6 +4482,7 @@ const FmtError = error{ UnsupportedEncoding, ConnectionResetByPeer, LockViolation, + NetNameDeleted, } || fs.File.OpenError; fn fmtPath(fmt: *Fmt, file_path: []const u8, check_mode: bool, dir: fs.Dir, sub_path: []const u8) FmtError!void { |
