zig/lib/std/os
Ryan Liptak 76fb2b685b std: Convert deprecated aliases to compile errors and fix usages
Deprecated aliases that are now compile errors:

- `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`)

Deprecated `lib/std/std.zig` decls were deleted instead of made a `@compileError` because the `refAllDecls` in the test block would trigger the `@compileError`. The deleted top-level `std` namespaces are:

- `std.rand` (renamed to `std.Random`)
- `std.TailQueue` (renamed to `std.DoublyLinkedList`)
- `std.ChildProcess` (renamed/moved to `std.process.Child`)

This is not exhaustive. Deprecated aliases that I didn't touch:
  + `std.io.*`
  + `std.Build.*`
  + `std.builtin.Mode`
  + `std.zig.c_translation.CIntLiteralRadix`
  + anything in `src/`
2024-06-13 10:18:59 -04:00
..
linux std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
plan9 extract std.posix from std.os 2024-03-19 11:45:09 -07:00
uefi Make EfiPhysicalAddress in std/os/uefi/tables.zig public 2024-02-05 15:31:33 +00:00
windows std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
emscripten.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
linux.zig fix: incorrect field sizes in std.os.linux.ifmap 2024-05-20 13:50:06 +03:00
plan9.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
uefi.zig os.uefi: add ns to epoch 2023-12-20 20:05:16 -08:00
wasi.zig Do not run asserts for WASI alignment when not targeting WASI 2024-05-11 07:23:07 +00:00
windows.zig [std] Fixed bug missing optional for lpName param on CreateEventExW. fixes #19946 2024-05-12 07:45:40 +02:00