Skip to content

Commit d2e0346

Browse files
committed
Revert "Fix compile error with std.Io.Writer on eZ80"
This reverts commit 446c343. Dropped in favor of #25691 (0d1e26e)
1 parent 8de9be9 commit d2e0346

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/std/os/windows.zig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4775,10 +4775,7 @@ pub const PEB = extern struct {
47754775
switch (@sizeOf(usize)) {
47764776
4 => 0x22,
47774777
8 => 0x3C,
4778-
else => if (builtin.target.os.tag == .windows)
4779-
@compileError("@sizeOf(usize) is neither 4 nor 8")
4780-
else
4781-
0, // avoid compile erros with std.Io.Writer on exotic targets
4778+
else => unreachable,
47824779
}
47834780
]ULONG,
47844781

0 commit comments

Comments
 (0)