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 usage of deprecated aliases to their non-deprecated equivalents #19892

Closed
wants to merge 1 commit into from

Conversation

squeek502
Copy link
Collaborator

Includes only the following:

  • std.fs.MAX_PATH_BYTES (renamed to std.fs.max_path_bytes)
  • std.mem.tokenize (split into tokenizeAny, tokenizeSequence, tokenizeScalar)
  • std.mem.split (split into splitSequence, splitAny, splitScalar)
  • std.mem.splitBackwards (split into splitBackwardsSequence, splitBackwardsAny, splitBackwardsScalar)
  • std.unicode
    • utf16leToUtf8Alloc, utf16leToUtf8AllocZ, utf16leToUtf8, fmtUtf16le (all renamed to have capitalized Le)
    • utf8ToUtf16LeWithNull (renamed to utf8ToUtf16LeAllocZ)
  • std.zig.CrossTarget (moved to std.Target.Query)
  • std.rand (renamed to std.Random)
  • std.TailQueue (renamed to std.DoublyLinkedList)
  • std.ChildProcess (renamed/moved to std.process.Child)

This is a non-breaking version of #19847

Includes only the following:

- `std.fs.MAX_PATH_BYTES` (renamed to `std.fs.max_path_bytes`)
- `std.mem.tokenize` (split into `tokenizeAny`, `tokenizeSequence`, `tokenizeScalar`)
- `std.mem.split` (split into `splitSequence`, `splitAny`, `splitScalar`)
- `std.mem.splitBackwards` (split into `splitBackwardsSequence`, `splitBackwardsAny`, `splitBackwardsScalar`)
- `std.unicode`
  + `utf16leToUtf8Alloc`, `utf16leToUtf8AllocZ`, `utf16leToUtf8`, `fmtUtf16le` (all renamed to have capitalized `Le`)
  + `utf8ToUtf16LeWithNull` (renamed to `utf8ToUtf16LeAllocZ`)
- `std.zig.CrossTarget` (moved to `std.Target.Query`)
- `std.rand` (renamed to `std.Random`)
- `std.TailQueue` (renamed to `std.DoublyLinkedList`)
- `std.ChildProcess` (renamed/moved to `std.process.Child`)
@squeek502
Copy link
Collaborator Author

This alternative is no longer useful, see #19847 (comment)

@squeek502 squeek502 closed this May 23, 2024
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.

None yet

1 participant