Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.io.Poller: handle EPIPE as EOF #22075

Merged
merged 4 commits into from
Nov 26, 2024
Merged

std.io.Poller: handle EPIPE as EOF #22075

merged 4 commits into from
Nov 26, 2024

Conversation

andrewrk
Copy link
Member

@andrewrk andrewrk commented Nov 25, 2024

closes #17483

bonus commit: std.process.Child: explicit error set for wait

bonus commit 2: update GitHub-hosted macOS runner to 13. Apple has already dropped support for macOS 12. GitHub Actions is dropping macOS 12 support now. The Zig project is also dropping macOS 12 support now.

@alexrp
Copy link
Member

alexrp commented Nov 25, 2024

The Zig project is also dropping macOS 12 support now.

Perhaps time to bump this then?

zig/lib/std/Target.zig

Lines 532 to 537 in e2f24a2

.macos => .{
.semver = .{
.min = .{ .major = 11, .minor = 7, .patch = 1 },
.max = .{ .major = 15, .minor = 2, .patch = 0 },
},
},

@andrewrk
Copy link
Member Author

Indeed

@alexrp
Copy link
Member

alexrp commented Nov 25, 2024

Any idea why 11.7.1 in particular was selected in #13299, as opposed to simply 11.0.0? It seems oddly specific and it's not obvious to me why. Was it just because it was the latest version of macOS 11 at the time of the bump?

@andrewrk
Copy link
Member Author

Yeah, it's just the minimum version that was practical to run. I think using zeroes is probably better unless there was some crucial bug fix we need to depend on.

Apple has already dropped support for macOS 12.
GitHub Actions is dropping macOS 12 support now.
The Zig project is also dropping macOS 12 support now.

This commit also bumps default minimum macos version to 13.
@andrewrk andrewrk enabled auto-merge November 26, 2024 01:44
@andrewrk andrewrk merged commit b0dcce9 into master Nov 26, 2024
10 checks passed
@andrewrk andrewrk deleted the fix-broken-pipe branch November 26, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flaky standalone tests with BrokenPipe
2 participants