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: fix comptime SemanticVersion expr regression #22653

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

mikdusan
Copy link
Member

@mikdusan mikdusan commented Jan 29, 2025

  • effects FreeBSD memfd and Windows DeleteFile
  • regression: e5d5a8b

  • PR tested on FreeBSD 14.1 and 12.4
  • issue manifested on master, on FreeBSD 14.1:
$ zig test lib/std/std.zig
lib/std/posix.zig:6825:17: error: memfd_create is unavailable on FreeBSD < 13.0
                @compileError("memfd_create is unavailable on FreeBSD < 13.0");
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- effects FreeBSD memfd and Windows DeleteFile
- regression: e5d5a8b
@mikdusan mikdusan added os-windows os-freebsd regression It worked in a previous version of Zig, but stopped working. labels Jan 29, 2025
@alexrp alexrp enabled auto-merge (rebase) January 29, 2025 05:00
@alexrp alexrp merged commit cd365b8 into ziglang:master Jan 30, 2025
10 checks passed
@mikdusan mikdusan deleted the semver branch January 30, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-freebsd os-windows regression It worked in a previous version of Zig, but stopped working.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants