zig/lib/std
Loris Cro 7a50e76eb1 wip
this is a bad commit that contains work in progress
changes to make fuzzing on macos work.

more specifically it contains macho-specific code
for loading debug information in the webserver.

it's messy because I'm still trying to understand
how this stuff works. with these changes the web
server loads but the wasm code panics.

it's unclear if the wasm panic is due to my dwarf
loading code being wrong or if we're encountering
some other latent issue.
2025-02-28 10:34:06 +01:00
..
Build wip 2025-02-28 10:34:06 +01:00
c std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
compress std.compress.flate.Lookup: Replace invisible doc comments with top-level doc comments 2025-01-22 23:34:57 +09:00
crypto std.crypto.tlcsprng: Fix hardcoded use of defaultRandomSeed() 2025-02-22 22:39:40 -05:00
debug wip 2025-02-28 10:34:06 +01:00
dwarf Dwarf: remove redundant debug info 2024-12-19 17:10:03 -05:00
fmt std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
fs std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
hash Add rapidhash (#22085) 2025-02-22 14:32:48 -08:00
heap std.heap.DebugAllocator: default wasm to 64K page size 2025-02-22 21:06:00 -05:00
http zig build fmt 2025-02-22 17:09:20 -08:00
io std.process: adding hasNonEmptyEnvVar() and using for NO_COLOR 2025-02-06 15:00:48 +01:00
json std.ArrayList: initial capacity based on cache line size 2025-02-13 00:19:03 -08:00
math std.math.big.int: Support strings up to base 36 2025-02-23 11:25:35 +00:00
mem std.mem.Allocator.VTable: improve doc comment wording 2025-02-06 14:50:20 -08:00
meta all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
net zig fmt 2025-02-22 22:21:24 -08:00
os linux: add UDP socket options 2025-02-21 06:05:04 +01:00
posix lib/std/posix/test.zig: enable disabled tests using CWD 2025-02-20 08:44:09 +01:00
process process.Child.collectOutput: Switch to Allocator/ArrayListUnmanaged 2025-02-03 17:07:27 -08:00
Random add std.testing.random_seed 2024-07-23 11:43:12 -07:00
sort compiler,lib,test,langref: migrate @setCold to @branchHint 2024-08-27 00:44:35 +01:00
tar Remove old deprecated symbols in std (#21584) 2024-10-04 13:50:25 -07:00
Target spirv: replace some unreachables with compile errors 2025-02-24 19:12:33 +01:00
testing std.testing.FailingAllocator: flatten namespace 2025-02-06 14:23:23 -08:00
Thread std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
time std.time.epoch: Fix comments referring to epoch as 1970-10-01 2024-08-15 17:54:27 -07:00
tz
unicode all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
valgrind std.valgrind: Fix some compile errors. 2024-11-04 10:56:32 +01:00
zig AstGen: improve 'file cannot be a tuple' source location 2025-02-25 22:28:47 +00:00
zip std.zip: Add ZIP64 support for local file header extra field 2025-01-17 22:55:55 +01:00
zon Output zig targets as ZON instead of JSON (#22939) 2025-02-21 21:40:57 -05:00
array_hash_map.zig fix ArrayHashMap setKey when store_hash=true 2025-02-22 00:44:35 -05:00
array_list.zig std.ArrayList: initial capacity based on cache line size 2025-02-13 00:19:03 -08:00
ascii.zig Updated ascii.zig's isWhitespace function to use switch instead of for loop. (#22094) 2024-11-29 12:26:23 -08:00
atomic.zig std.atomic: make cache_line const a comptime_int 2025-02-22 03:48:09 +01:00
base64.zig stdlib : base64 encode to writer (#20961) 2024-09-04 08:10:12 +00:00
bit_set.zig std.DynamicBitSet: remove wrong and useless comments (#21418) 2024-09-19 17:06:23 -07:00
BitStack.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
bounded_array.zig std.BoundedArray: popOrNull() -> pop() [v2] (#22723) 2025-02-09 11:46:15 +00:00
buf_map.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
buf_set.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
Build.zig std.Build: add more explicit error sets to some functions 2025-01-26 19:03:33 +01:00
builtin.zig std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
c.zig zig build fmt 2025-02-22 17:09:20 -08:00
coff.zig std.{coff,elf}: Remove the {MachineType,EM}.toTargetCpuArch() functions. 2024-08-23 19:56:24 +02:00
compress.zig fix typo of anytype to type 2025-02-05 13:58:15 +01:00
crypto.zig Merge pull request #19976 from clickingbuttons/asn1 2025-02-22 20:21:09 -05:00
debug.zig Sema: allow @ptrCast of slices changing the length 2025-02-23 08:28:58 +00:00
dwarf.zig Dwarf: cleanup emitted debug info 2024-08-22 08:44:08 +02:00
dynamic_library.zig std.DynLib: add support for DT_GNU_HASH sections in elf files 2025-02-22 17:33:49 -05:00
elf.zig std.DynLib: add support for DT_GNU_HASH sections in elf files 2025-02-22 17:33:49 -05:00
enums.zig all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
fifo.zig runtime page size detection 2025-02-06 14:23:23 -08:00
fmt.zig std.fmt.digits2: optimize for ReleaseSmall 2025-02-12 14:45:38 -08:00
fs.zig fix compilation errors for fs and fs.Dir (#21643) 2024-10-17 01:08:58 +02:00
gpu.zig std.gpu: stop using comptimePrint 2025-02-18 18:07:31 +03:30
hash.zig Add rapidhash (#22085) 2025-02-22 14:32:48 -08:00
hash_map.zig std.hash_map: placeholder for doc comments 2025-02-06 14:23:23 -08:00
heap.zig std.heap.page_size_min: relax freestanding restriction 2025-02-25 11:22:33 -08:00
http.zig add std.http.WebSocket 2024-08-07 00:48:32 -07:00
io.zig all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
json.zig Delete compile errors for deprecated decls 2024-05-03 13:27:30 -07:00
leb128.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
linked_list.zig Revert "std.SinglyLinkedList: add sort function" 2023-11-24 22:33:50 -07:00
log.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
macho.zig remove hard tabs from source code 2024-07-31 16:57:42 -07:00
math.zig std: remove special cases for stage2_x86_64 that are no longer needed 2025-02-12 09:48:17 -05:00
mem.zig std.mem.indexOfSentinel: don't ask the OS the page size 2025-02-25 11:22:33 -08:00
meta.zig docs: update old reference from builtin.Type.Struct to builtin.Type.@"struct" 2025-02-18 23:35:16 +01:00
multi_array_list.zig std.ArrayList: initial capacity based on cache line size 2025-02-13 00:19:03 -08:00
net.zig std.net: Fix IPv6 address format compression for long zero runs (#22441) 2025-02-22 19:52:47 -08:00
once.zig compiler,lib,test,langref: migrate @setCold to @branchHint 2024-08-27 00:44:35 +01:00
os.zig x86_64: implement switch jump tables 2025-01-16 20:42:08 -05:00
pdb.zig std.pdb: obey naming conventions 2024-08-29 23:43:52 +01:00
posix.zig stdlib: handle EEXIST in mmap with FIXED_NOREPLACE. Fixes #21475 2025-02-24 04:36:14 -05:00
priority_dequeue.zig add std.testing.random_seed 2024-07-23 11:43:12 -07:00
priority_queue.zig std.priority_queue: add useful functions from ArrayList API 2025-02-01 19:02:39 +01:00
process.zig adjust runtime page size APIs 2025-02-06 14:23:23 -08:00
Progress.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
Random.zig Allocator/Random: document that comparing ptr may result in illegal behavior 2025-02-03 17:07:28 -08:00
RingBuffer.zig std.RingBuffer: use sliceAt/sliceFirst in read*AssumeLength 2024-03-10 18:17:23 +11:00
segmented_list.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
SemanticVersion.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
simd.zig x86_64: implement switch jump tables 2025-01-16 20:42:08 -05:00
sort.zig std.equalRange: Compute lower and upper bounds simultaneously 2024-09-23 13:03:06 -07:00
start.zig fuzz testing: implement initial macos support 2025-02-27 16:32:35 +01:00
static_string_map.zig std.static_string_map: Cast length of input for runtime initialization 2024-06-20 23:22:39 +00:00
std.zig move libubsan to lib/ and integrate it into -fubsan-rt 2025-02-25 11:22:33 -08:00
tar.zig Remove old deprecated symbols in std (#21584) 2024-10-04 13:50:25 -07:00
Target.zig std.Target: Update known max OS versions. 2025-02-25 20:30:43 +01:00
testing.zig std.testing: improve compile error on untagged union equality 2025-02-16 15:51:40 +01:00
Thread.zig stdlib: handle EEXIST in mmap with FIXED_NOREPLACE. Fixes #21475 2025-02-24 04:36:14 -05:00
time.zig std.time: Make tests less flaky. 2025-02-21 09:03:46 +01:00
treap.zig Condense and extend std.Treap's traversal functionalities. (#20002) 2024-07-28 19:47:55 -07:00
tz.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
unicode.zig std: update eval branch quotas after bdbc485 2024-08-21 01:30:46 +01:00
Uri.zig std.http.Client: always omit port when it matches default 2024-04-12 22:37:07 -07:00
valgrind.zig std.valgrind: Port doClientRequest() to all archs supported by Valgrind. 2024-11-04 12:39:48 +01:00
wasm.zig wasm linker: implement @tagName for sparse enums 2025-01-15 15:11:36 -08:00
zig.zig zig fmt: fix invalid alignment on frees 2025-02-22 17:09:20 -08:00
zip.zig runtime page size detection 2025-02-06 14:23:23 -08:00
zon.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00