zig/lib/compiler
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
..
aro std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
aro_translate_c translate-c: promote macros that reference var decls to inline functions 2024-06-05 23:06:51 +03:00
reduce reduce: fix compile errors 2024-03-24 17:29:39 +01:00
resinator std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
aro_translate_c.zig translate-c: promote macros that reference var decls to inline functions 2024-06-05 23:06:51 +03:00
build_runner.zig Replace YES_COLOR with CLICOLOR_FORCE 2024-06-02 17:35:34 -04:00
fmt.zig zig fmt: ignore hidden files and directories 2024-05-29 10:09:40 -07:00
libc.zig zig libc: allow non-native targets 2024-03-13 02:17:28 -04:00
objcopy.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
reduce.zig Rename Dir.writeFile2 -> Dir.writeFile and update all callsites 2024-05-03 13:29:22 -07:00
std-docs.zig std: restructure child process namespace 2024-05-26 09:31:55 -07:00
test_runner.zig test runner: update to new std.Progress API 2024-05-27 20:56:48 -07:00