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

update for deprecated aliases in std #140

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

dweiller
Copy link
Contributor

@dweiller dweiller commented Jul 19, 2024

Extracted from #139.

The declarations std.zig.CrossTarget, std.fs.MAX_PATH_BYTES, and std.mem.tokenize were made into compile errors in zig version 0.13.0-dev.33+76fb2b685. Individually, these were deprecated (but not made compile errors) in:

  • std.mem.tokenize: 0.10.0-dev.3139+9da3a9733
  • std.zig.CrossTarget: 0.11.0-dev.1886+3179f58c4
  • std.fs.MAX_PATH_BYTES: 0.11.0-dev.3382+cd62005f1

so this change makes zigup unbuildable with versions of zig prior to 0.11.0-dev.3382+cd62005f1 (if it was previously was), but allows building zigup with with zig versions after 0.13.0-dev.33+76fb2b685.

The declarations `std.zig.CrossTarget`, `std.fs.MAX_PATH_BYTES`, and
`std.mem.tokenize` were made into compile errors in zig version
0.13.0-dev.33+76fb2b685. Individually, these were deprecated (but not
made compile errors) in:

  - std.mem.tokenize: 0.10.0-dev.3139+9da3a9733
  - std.zig.CrossTarget: 0.11.0-dev.1886+3179f58c4
  - std.fs.MAX_PATH_BYTES: 0.11.0-dev.3382+cd62005f1

so this change makes zigup unbuildable with versions of zig prior to
0.11.0-dev.3382+cd62005f1 (if it was previously was), but allows
building zigup with with zig versions after 0.13.0-dev.33+76fb2b685.
@marler8997 marler8997 merged commit e37d205 into marler8997:master Jul 20, 2024
@dweiller dweiller deleted the std-deprecation branch July 21, 2024 04:09
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.

2 participants