pub const PipeFile = switch (native_os)
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
pub const PipeFile = switch (native_os) { .windows => struct { handle: ?windows.HANDLE = null, fn deinit(this: *@This()) void { if (this.handle) |handle| { windows.CloseHandle(handle); this.handle = null; } } }, else => struct { fn deinit(this: @This()) void { _ = this; } }, }