diff options
| author | Justin Braben <32079903+JustinBraben@users.noreply.github.com> | 2024-11-27 14:33:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 22:33:29 +0100 |
| commit | d16a9b0acb14ad217849de2a59d91cd4648ac1a7 (patch) | |
| tree | f098a2df827a0b7a40cecebf8cd72f2d40d9b564 /src/Zcu/PerThread.zig | |
| parent | 1a99c99ee99fa3ca43935fe7d7d0865145b82d4e (diff) | |
| download | zig-d16a9b0acb14ad217849de2a59d91cd4648ac1a7.tar.gz zig-d16a9b0acb14ad217849de2a59d91cd4648ac1a7.zip | |
std.os.windows: Map PIPE_NOT_AVAILABLE from OpenFile() to error.NoDevice (#21938)
Diffstat (limited to 'src/Zcu/PerThread.zig')
| -rw-r--r-- | src/Zcu/PerThread.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig index 29b9716152..c6a8b58f41 100644 --- a/src/Zcu/PerThread.zig +++ b/src/Zcu/PerThread.zig @@ -133,6 +133,7 @@ pub fn astGenFile( error.BadPathName => unreachable, // it's a hex encoded name error.NameTooLong => unreachable, // it's a fixed size name error.PipeBusy => unreachable, // it's not a pipe + error.NoDevice => unreachable, // it's not a pipe error.WouldBlock => unreachable, // not asking for non-blocking I/O // There are no dir components, so you would think that this was // unreachable, however we have observed on macOS two processes racing |
