zig/lib/std/os/linux
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
..
bpf linux/bpf: update helper definitions 2023-11-19 19:01:18 +02:00
arm-eabi.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
arm64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
bpf.zig Fix usage of unexpectedErrno 2024-04-20 19:37:41 -07:00
io_uring_sqe.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
ioctl.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
IoUring.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
mips.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
mips64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
powerpc.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
powerpc64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
riscv64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
seccomp.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
sparc64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
start_pie.zig Fix slight deviation from spec in handling Elf*_Rela relative relocations 2024-06-08 16:02:47 -04:00
syscalls.zig generate loongarch64 Linux syscalls 2024-06-05 18:54:14 -04:00
test.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
thumb.zig std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
tls.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
vdso.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
x86.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
x86_64.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00