zig/lib/std
Andrew Kelley fee9318b17
std.os.getrusage: add C extern fn and reserved field
* add reserved field to match musl struct definition so that
   it will work with musl libc.
 * add libc getrusage so that it will work with libc

what's not done in this branch is:
 * test coverage. See #1629, which should also aim to provide
   general test coverage for the std lib.
 * rusage struct bits for non-linux operating systems
2020-01-05 16:57:14 -05:00
..
atomic Replace @typeOf with @TypeOf in all zig source 2019-12-10 11:09:41 -05:00
build rework and improve some of the zig build steps 2020-01-05 02:19:22 -05:00
c c.linux: add memfd_create 2019-12-31 15:58:03 -05:00
crypto std.mem.compare: breaking API changes 2020-01-01 18:08:40 -05:00
debug zig fmt 2019-11-25 13:53:13 -05:00
event Replace @typeOf with @TypeOf in all zig source 2019-12-10 11:09:41 -05:00
fmt update more of the std lib to use @as 2019-11-08 15:57:25 -05:00
fs Merge remote-tracking branch 'origin/master' into remove-array-type-coercion 2019-12-01 09:56:01 -05:00
hash Replace @typeOf with @TypeOf in all zig source 2019-12-10 11:09:41 -05:00
heap
http std.mem.compare: breaking API changes 2020-01-01 18:08:40 -05:00
io improvements to memfd_create 2019-12-31 16:34:14 -05:00
json Merge pull request #3648 from xackus/json-unescape 2019-12-29 18:31:10 -05:00
math remove @TypeOf() hacks for comptime_int/comptime_float 2020-01-05 02:33:23 -05:00
meta self-hosted: manually parse args 2019-12-11 02:08:33 -05:00
net std.fmt.format: tuple parameter instead of var args 2019-12-08 22:53:51 -05:00
os std.os.getrusage: add C extern fn and reserved field 2020-01-05 16:57:14 -05:00
rand update the codebase to use @as 2019-11-08 15:57:24 -05:00
special fix float ops with respect to vectors 2020-01-01 23:27:43 -05:00
time
unicode std: add warm up phase to benchmark 2019-12-28 14:39:38 +11:00
valgrind string literals are now null terminated 2019-11-21 20:43:41 -05:00
zig Better logic for last-param rendering 2020-01-03 11:49:42 +01:00
array_list.zig ArrayList: ptrAt function returns pointer to item at given index 2019-12-29 18:46:59 -05:00
ascii.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
atomic.zig
base64.zig
bloom_filter.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
buf_map.zig rename std.heap.direct_allocator to std.heap.page_allocator 2019-11-25 17:25:06 -05:00
buf_set.zig rename std.heap.direct_allocator to std.heap.page_allocator 2019-11-25 17:25:06 -05:00
buffer.zig fix std.mem.addNullByte and implement sentinel slicing 2019-12-20 18:28:56 -05:00
build.zig fix test-gen-h and test-compile-errors regression 2020-01-05 13:08:18 -05:00
builtin.zig un-special-case startup code in the std lib 2019-12-12 18:33:44 -05:00
c.zig std.os.getrusage: add C extern fn and reserved field 2020-01-05 16:57:14 -05:00
child_process.zig Fix for the error codepath in ChildProcess 2019-12-16 10:57:29 +01:00
coff.zig fix windows std lib regressions 2019-11-29 21:55:27 -05:00
crypto.zig crypto: Add AES implementation 2019-11-01 22:42:25 -04:00
cstr.zig fix std.mem.addNullByte and implement sentinel slicing 2019-12-20 18:28:56 -05:00
debug.zig sentinel slicing improvements 2019-12-20 18:28:59 -05:00
dwarf.zig
dynamic_library.zig freebsd: add missing OS and libc bits 2019-12-22 02:27:23 -05:00
elf.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
event.zig std lib networking improvements, especially non-blocking I/O 2019-10-29 22:59:30 -04:00
fifo.zig std.fmt.format: tuple parameter instead of var args 2019-12-08 22:53:51 -05:00
fmt.zig std.fmt.format: add helpful compile error for non-tuple args 2019-12-31 13:13:13 -05:00
fs.zig rework and improve some of the zig build steps 2020-01-05 02:19:22 -05:00
hash.zig merge dumps tool: merging ast nodes 2019-10-11 18:13:24 -04:00
hash_map.zig documentation for mutable HashMap KV pointers 2019-12-07 13:22:23 -05:00
heap.zig Merge pull request #3830 from fengb/wasm-page-allocator 2019-12-10 10:58:50 -05:00
http.zig
io.zig lib/std/io: let the bring-your-own OS package handle stdio (#3887) 2019-12-11 18:37:52 -05:00
json.zig std: fix typo in comment 2019-12-31 03:06:33 +11:00
lazy_init.zig use enum with atomics in std lib 2019-11-12 17:55:54 +02:00
LICENSE add extra LICENSE file for clarification 2019-12-02 15:11:11 -05:00
linked_list.zig
macho.zig
math.zig std.mem.compare: breaking API changes 2020-01-01 18:08:40 -05:00
mem.zig std.mem.compare: breaking API changes 2020-01-01 18:08:40 -05:00
meta.zig std: meta.TagPayloadType takes the tag type of the union 2019-12-30 23:09:18 +11:00
mutex.zig Merge pull request #3950 from nmichaels/master 2020-01-03 20:05:03 -05:00
net.zig std.net: use mem.toBytes 2019-12-30 19:26:30 -05:00
os.zig Add std.os.getrusage 2020-01-05 16:52:36 -05:00
packed_int_array.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
pdb.zig Replace @typeOf with @TypeOf in all zig source 2019-12-10 11:09:41 -05:00
priority_queue.zig std.fmt.format: tuple parameter instead of var args 2019-12-08 22:53:51 -05:00
process.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
progress.zig std.fmt.format: tuple parameter instead of var args 2019-12-08 22:53:51 -05:00
rand.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
rb.zig std.mem.compare: breaking API changes 2020-01-01 18:08:40 -05:00
reset_event.zig typo fix 2019-12-22 21:45:26 -06:00
segmented_list.zig Replace @typeOf with @TypeOf in all zig source 2019-12-10 11:09:41 -05:00
sort.zig Add std.sort.argMax and std.sort.argMin 2019-12-04 18:20:55 +01:00
spinlock.zig SpinLock: loopHint & yield distinction 2019-12-17 15:38:00 -06:00
start.zig un-special-case startup code in the std lib 2019-12-12 18:33:44 -05:00
start_windows_tls.zig un-special-case startup code in the std lib 2019-12-12 18:33:44 -05:00
std.zig un-special-case startup code in the std lib 2019-12-12 18:33:44 -05:00
target.zig std.os.memfd_create: add error.SystemOutdated 2019-12-31 17:57:20 -05:00
testing.zig Fixes #3966 2019-12-29 18:19:03 -05:00
thread.zig Additional replacements of @typeOf with @TypeOf 2019-12-10 11:09:41 -05:00
time.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
unicode.zig std: unicode codepoints are 21 bits 2019-12-28 16:49:59 +11:00
valgrind.zig std.fmt.format: tuple parameter instead of var args 2019-12-08 22:53:51 -05:00
zig.zig