zig/lib/std/os/linux
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
..
bpf Fixes to linux/bpf/btf.zig 2022-11-09 17:14:22 +02:00
errno std.os reorganization, avoiding usingnamespace 2021-09-01 17:54:06 -07:00
arm-eabi.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
arm64.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
bpf.zig linux.bpf: expose map_get_next_key 2022-11-27 02:07:49 -05:00
io_uring.zig std.os.linux.io_uring: fix ABI error 2023-01-16 22:25:34 +02:00
ioctl.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
mips.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
powerpc.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
powerpc64.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
riscv64.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
seccomp.zig remove the experimental std.x namespace 2023-01-02 16:57:15 -07:00
sparc64.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
start_pie.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
syscalls.zig Update Linux syscall list for 5.19 2022-08-05 15:36:32 +03:00
test.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
thumb.zig std: reorganization that allows new usingnamespace semantics 2021-09-01 17:54:06 -07:00
tls.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
vdso.zig std: remove meta.assumeSentinel 2023-01-24 15:39:52 -05:00
x86.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
x86_64.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00