zig/lib/std/os
Isaac Freund 9eeae556cc std: remove meta.assumeSentinel
All but 3 callsites of this function in the standard library and
compiler were unnecessary and were removed in faf2fd18.

In this commit, the remaining 3 callsites are removed. One of them
turned out to also be unnecessary and has been replaced by slicing
directly with the length..

The 2 remaining callsites were in the very pointer-math heavy
std/os/linux/vdso.zig code which should perhaps be refactored to better
utilize slices. These 2 callsites are replaced with a plain
@ptrCast([*:0]u8, ptr) though could likely use std.mem.sliceTo() if the
surrounding code was refactored.
2023-01-24 15:39:52 -05:00
..
darwin Add std.os.darwin.cssm 2023-01-17 09:51:39 -08:00
linux std: remove meta.assumeSentinel 2023-01-24 15:39:52 -05:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi [UEFI] Delete unnecessary padding and fix number_of_pages type 2023-01-23 21:05:38 -05:00
windows std: eliminate pointless meta.assumeSentinel() usage 2023-01-23 12:19:53 +01:00
darwin.zig Add std.os.darwin.cssm 2023-01-17 09:51:39 -08:00
linux.zig remove the experimental std.x namespace 2023-01-02 16:57:15 -07:00
plan9.zig remove 'builtin.stage2_arch', Sema is smart enough now 2022-08-07 16:07:08 -07:00
posix_spawn.zig std.c: fix incorrect return types 2022-10-13 13:21:19 +02:00
ptrace.zig darwin: add even more wrappers for Mach syscalls 2022-12-14 00:10:26 +01:00
test.zig test: fix "chdir smoke test" comparing paths with potentially different drive letter cases 2023-01-10 18:03:05 -05:00
uefi.zig Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526) 2022-11-12 21:03:24 +02:00
wasi.zig std: fix WASI regressions 2022-12-06 12:15:05 -07:00
windows.zig Merge pull request #14418 from ifreund/assume-sentinel-sux 2023-01-23 21:01:54 -05:00