zig/lib/std
Stephen Gregoratto a4369918b1 Generate linux syscalls via. the linux source tree
Previously, updating the `SYS` enum for each architecture required
manually looking at the syscall tables and inserting any new additions.

This commit adds a tool, `generate_linux_syscalls.zig`, that automates
this process using the syscall tables in the Linux source tree. On
architectures without a table, it runs `zig cc` as a pre-processor to
extract the system-call numbers from the Linux headers.
2022-05-16 23:55:11 -04:00
..
atomic std: replace usage of std.meta.bitCount() with @bitSizeOf() 2022-04-27 11:10:52 +02:00
build some fixes to the EnvMap HashContext 2022-05-11 18:41:23 -06:00
c std.os: Add memfd_create for FreeBSD 2022-05-16 17:43:44 -04:00
compress zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
crypto Fixes comptime 'error: cannot assign to constant' error in siphash. 2022-05-16 22:31:09 -04:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event std: replace usage of std.meta.bitCount() with @bitSizeOf() 2022-04-27 11:10:52 +02:00
fmt fix aarch64 f16 nan parse test failure 2022-05-03 19:04:16 +12:00
fs std.Thread: ResetEvent improvements (#11523) 2022-04-26 16:48:56 -05:00
hash std: fix crypto and hash benchmark 2022-04-24 23:01:06 -04:00
heap std.Thread: Mutex and Condition improvements (#11497) 2022-04-23 19:35:56 -05:00
http std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
io std: replace usage of std.meta.bitCount() with @bitSizeOf() 2022-04-27 11:10:52 +02:00
json
math std.math.powi: use standard definition of underflow/overflow, implement u0, i0, i1 edge case (#11499) 2022-05-16 18:28:20 -04:00
mem Allocator: correct PanicFree function name 2022-05-02 15:29:27 -04:00
meta std.meta.trait: remove assumption about vector ABI size 2022-03-24 18:09:45 -07:00
net
os Generate linux syscalls via. the linux source tree 2022-05-16 23:55:11 -04:00
rand std.rand: fixup 'improve random float generation' 2022-05-12 15:39:19 +02:00
target
testing
Thread std: replace usage of std.meta.bitCount() with @bitSizeOf() 2022-04-27 11:10:52 +02:00
time
tz
unicode
valgrind
x fmt: fix formatting of lib/std/x/net/bpf.zig 2022-04-28 18:34:37 +02:00
zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
array_hash_map.zig Sema: solve a false positive "depends on itself" 2022-05-06 22:40:57 -07:00
array_list.zig std.ArrayList: use variable for local mutable state 2022-03-11 22:47:24 -07:00
ascii.zig
atomic.zig std.Thread.Futex improvements (#11464) 2022-04-19 19:42:15 -05:00
base64.zig std.base64: upgrade to new function pointer semantics 2022-03-30 20:38:01 -07:00
bit_set.zig std: make IntegerBitSet and ArrayBitSet have defined memory layout 2022-05-10 21:30:58 -04:00
bounded_array.zig std/bounded_array.zig: Add Writer interface 2022-04-14 02:56:40 -04:00
buf_map.zig reverse some of the now unneeded changes from squeek 2022-05-11 18:41:23 -06:00
buf_set.zig std.BufSet.clone: fix key ownership 2022-03-01 13:28:47 -05:00
build.zig Update usages of process.getEnvMap and change BufMap -> EnvMap where applicable 2022-05-11 18:40:53 -06:00
builtin.zig C backend: implement overflow arithmetic 2022-05-16 13:55:26 -07:00
c.zig stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
child_process.zig remove extra storage from EnvMap on windows 2022-05-11 18:40:53 -06:00
coff.zig std.coff: parse out codebase and entrypoint from optionalheader 2022-04-28 18:31:20 +03:00
compress.zig
comptime_string_map.zig
crypto.zig
cstr.zig
debug.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
dwarf.zig dwarf: clean up allocations in std.dwarf module 2022-04-21 00:06:52 +02:00
dynamic_library.zig Pull elf magic string out to re-used constant 2022-04-04 15:33:24 +03:00
elf.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
enums.zig deprecated TypeInfo in favor of Type 2022-03-08 20:38:12 +02:00
event.zig
fifo.zig
fmt.zig temporary fix for stage2/stage1 f128 rounding discrepency 2022-05-03 17:14:01 +12:00
fs.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
hash.zig
hash_map.zig std: fix missing hash map safety 2022-04-20 17:18:06 -07:00
heap.zig std.heap: Fix typo 2022-05-01 14:41:12 -04:00
http.zig std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
io.zig stage2: progress towards stage3 2022-04-14 10:12:45 -07:00
json.zig std.json stringify fix object keys are always is strings 2022-05-10 09:56:49 +02:00
leb128.zig
linked_list.zig
log.zig
macho.zig macho: set CS_LINKER_SIGNED flag in code signature generated by zld 2022-04-01 14:33:37 +02:00
math.zig add std.math.sign 2022-05-12 16:09:09 -04:00
mem.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
meta.zig std.meta: deprecate bitCount() for @bitSizeOf() 2022-04-27 11:10:52 +02:00
multi_array_list.zig std.MultiArrayList: add functions addOne, pop, and popOrNull (#11553) 2022-04-29 22:51:53 -04:00
net.zig
once.zig
os.zig std.os: add timerfd_create, timerfd_settime and timerfd_gettime 2022-05-17 00:56:33 +02:00
packed_int_array.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
pdb.zig std.pdb: fix incorrect use of packed struct 2022-05-02 22:06:02 -07:00
priority_dequeue.zig
priority_queue.zig Fix bug in PriorityQueue::removeIndex() 2022-04-14 02:54:41 -04:00
process.zig document that on Windows, all key arguments in EnvMap must be valid utf8 2022-05-11 18:41:23 -06:00
Progress.zig std.Progress: activate() calls maybeRefresh() 2022-05-13 14:31:30 -07:00
rand.zig std.rand.float: simplify leading zero calculations 2022-05-12 16:23:39 +02:00
segmented_list.zig std.SegmentedList: add constIterator 2022-04-29 14:48:49 -04:00
SemanticVersion.zig
simd.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
sort.zig std: add sort method to ArrayHashMap and MultiArrayList 2022-03-10 13:13:17 -05:00
start.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
start_windows_tls.zig
std.zig std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
target.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
testing.zig std: Do not allocate the result for ChildProcess.init 2022-04-29 22:50:34 -04:00
Thread.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
time.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
treap.zig treap: zig fmt 2022-04-15 17:01:01 -05:00
tz.zig
unicode.zig reverse some of the now unneeded changes from squeek 2022-05-11 18:41:23 -06:00
valgrind.zig
wasm.zig
x.zig
zig.zig stage2 parser: UTF-8 encode \u{NNNNNN} escape sequences 2022-03-02 14:45:19 -05:00