zig/lib/std
Robin Voetter a7563e453d
spirv: minimal start code
For SPIR-V, only export the main function if it is actually declared. Kernel
entry points will often have parameters and more than one kernel declared.

In general, SPIR-V binaries should mostly be compiled as libraries and not as
executables. However, this start code is required so that we can build test
executables.

Note that a call to isSpirV() would emit the code for that function, even though
the call is at comptime. To save that function from being emitted the checks
are just inlined manually.
2023-04-09 01:51:55 +02:00
..
atomic update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Build link: handle -u flag in all linkers 2023-04-01 14:22:44 +02:00
c std: add FreeBSD's procctl api. 2023-04-08 18:31:01 +03:00
compress std.compress.zstandard: fix error sets for streaming API 2023-02-21 22:06:25 +11:00
crypto tls.Client: don't read if we don't need more data 2023-04-08 03:37:05 -04:00
dwarf
event update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fmt enable more float-parsing tests 2023-03-25 14:09:00 +02:00
fs std: fix memory bugs 2023-04-05 08:23:07 +02:00
hash std.hash: use std.math.rotl in Xxhash64 and Xxhash32 2023-02-21 12:09:27 +11:00
heap std: fix memory bugs 2023-04-05 08:23:07 +02:00
http http.Client: don't prematurely check transfer_{encoding,compression} (#15040) 2023-03-23 10:05:58 +01:00
io std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
json std.json: support tuples 2023-03-21 15:01:45 +02:00
math CBE: implement big integer literals 2023-03-05 02:59:01 -05:00
mem split @qualCast into @constCast and @volatileCast 2023-02-15 01:43:57 +02:00
meta update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
net update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os std.os: add mincore syscall 2023-04-06 00:57:23 -04:00
rand Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
target std: add generic target for spirv 2023-04-09 01:51:47 +02:00
testing
Thread zig build: add a -j<N> option for limiting concurrency 2023-03-15 10:48:12 -07:00
time
tz
unicode update usages of @call 2022-12-13 13:14:20 +02:00
valgrind
zig add compile log output to build runner 2023-03-15 10:48:15 -07:00
array_hash_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
array_list.zig std: Add ArrayList.insertAssumeCapacity() 2023-03-12 11:02:53 +00:00
ascii.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
atomic.zig
base64.zig std.base64: don't overflow dest with padding 2023-03-23 22:52:15 +02:00
bit_set.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bounded_array.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
buf_map.zig
buf_set.zig
Build.zig fix std.Build.OptionsStep 2023-03-19 00:39:29 -04:00
builtin.zig amdgpu,nvptx: unify kernel calling conventions 2023-04-09 01:51:54 +02:00
c.zig std: child process API supports rusage data 2023-03-15 10:48:13 -07:00
child_process.zig std.process.Child: implement maxrss on Darwin 2023-03-25 03:20:50 +01:00
coff.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
compress.zig std.compress.zstd: renamed from std.compress.zstandard 2023-02-22 00:11:20 +11:00
comptime_string_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
crypto.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
cstr.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
debug.zig use DEC graphics instead of Unicode for box drawing 2023-03-15 10:48:15 -07:00
dwarf.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
dynamic_library.zig update usages of @call 2022-12-13 13:14:20 +02:00
elf.zig
enums.zig std.enums.IndexedSet: Add initOne and initMany 2023-03-25 13:28:25 +02:00
event.zig
fifo.zig add std.LinearFifo.readableSliceOfLen 2023-03-15 10:48:15 -07:00
fmt.zig std: improve error for formatting a function body type 2023-03-20 17:29:43 +02:00
fs.zig std: add fchmodat 2023-03-03 02:37:45 -05:00
hash.zig std.hash: add XxHash64 and XxHash32 2023-02-20 09:09:05 +11:00
hash_map.zig tools: implement more lldb pretty printers 2023-02-27 05:37:03 -05:00
heap.zig add std.heap.ThreadSafeAllocator 2023-03-15 10:48:12 -07:00
http.zig std.http: split Client's parts into their own files 2023-03-09 14:55:20 -06:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig std: remove temporary workarounds for stage2_x86_64 2023-03-25 21:32:55 -04:00
json.zig std.json: allow returning custom errors from custom stringify 2023-04-07 15:01:09 +03:00
leb128.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
linked_list.zig
log.zig std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
macho.zig macho: use TOOL=0x5 to mean ZIG as the build tool 2023-03-21 13:47:09 +01:00
math.zig math: implement absInt for integer vectors 2023-01-03 13:30:24 +02:00
mem.zig std.mem.reverseIterator: add nextPtr() 2023-03-31 22:50:31 +02:00
meta.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
multi_array_list.zig std.MultiArrayList: add set and get to Slice 2023-03-27 05:58:00 -04:00
net.zig Enable IPv4 mapped address conversion in linux version getAddressList (#14916) 2023-03-17 15:58:02 -04:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig std.os: add mincore syscall 2023-04-06 00:57:23 -04:00
packed_int_array.zig Merge pull request #14671 from ziglang/multi-object-for 2023-02-19 10:10:59 -05:00
pdb.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_dequeue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig Fix crash on some Windows machines 2023-04-06 07:26:07 +02:00
Progress.zig std.Progress.Node: add a setName method 2023-03-15 10:48:14 -07:00
rand.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
RingBuffer.zig std.RingBuffer: add (non-concurrent) RingBuffer implementation 2023-02-21 12:58:34 +11:00
segmented_list.zig
SemanticVersion.zig
simd.zig add wasm-simd support for suggestVectorSizeForCpu (#14992) 2023-03-20 17:45:12 +01:00
sort.zig naming: mid for index and mid_item for item 2023-03-21 15:12:13 +02:00
start.zig spirv: minimal start code 2023-04-09 01:51:55 +02:00
start_windows_tls.zig cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig zig build: add executable bit and file path to package hash 2023-02-01 18:42:29 -07:00
target.zig spirv: cannot build libc 2023-04-09 01:51:48 +02:00
testing.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Thread.zig extract ThreadPool and WaitGroup from compiler to std lib 2023-03-15 10:48:12 -07:00
time.zig
treap.zig
tz.zig
unicode.zig
Uri.zig std.http: handle relative redirects 2023-03-09 14:55:13 -06:00
valgrind.zig
wasm.zig wasm: add atomics opcodes and refactoring 2023-03-18 20:13:30 +01:00
zig.zig integrate the build runner and the compiler server 2023-03-15 10:48:13 -07:00