zig/lib/compiler/aro/aro
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
..
Attribute Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
Builtins Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
char_info
Diagnostics Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
Driver std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
pragmas Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
toolchains std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
Tree
Attribute.zig std.builtin: make container layout fields lowercase 2024-03-11 07:09:07 -07:00
Builtins.zig Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
char_info.zig
CodeGen.zig
Compilation.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
Diagnostics.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
Driver.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
features.zig
Hideset.zig Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
InitList.zig
LangOpts.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
Parser.zig Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
Pragma.zig
Preprocessor.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
record_layout.zig
Source.zig
StringInterner.zig
SymbolStack.zig
target.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
text_literal.zig
Tokenizer.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
Toolchain.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
tracy.zig
Tree.zig Sync Aro sources (#19199) 2024-03-06 14:17:41 -05:00
Type.zig aro translate-c: support for record types added 2024-05-09 13:46:50 -07:00
Value.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00