0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std
Matthew Lugg 49f17237b0
compiler,std: remove a handful of redundant discards
I'm embarrassed to say I didn't realise until a few days ago that you
could omit the `_` capture for `if`/`while` on `E!void`...
History 2025-12-22 11:54:57 +00:00
..
Build Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
builtin std.builtin.assembly: add Clobbers for kvx 2025-11-10 09:40:42 +01:00
c std: make stack unwinding faster on macOS 2025-12-06 10:41:42 +00:00
compress std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
crypto Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
debug Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
dwarf fix compiler ftbfs from std.macho and std.dwarf changes 2025-09-30 13:44:51 +01:00
fmt all: replace all @Type usages 2025-11-22 22:42:38 +00:00
fs Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
hash std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
heap windows: type safety improvements and more ntdll functions 2025-12-12 01:58:21 -05:00
http Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
Io compiler,std: remove a handful of redundant discards 2025-12-22 11:54:57 +00:00
json std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
math Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
mem std.mem.Allocator: fix resize doc comment 2025-10-22 11:41:16 +02:00
meta all: replace all @Type usages 2025-11-22 22:42:38 +00:00
os Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
posix std: disable tests that depend on getFdPath on openbsd 2025-12-16 06:25:27 +01:00
process Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
Random std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
sort std.sort.pdq: fix out-of-bounds access in partialInsertionSort (#25253) 2025-09-17 19:54:15 -07:00
tar compiler: update for introduction of std.Io 2025-10-29 06:20:49 -07:00
Target std.Target.x86: refresh from update_cpu_features.zig 2025-11-13 22:29:28 +01:00
testing fix compile errors and minor bugs 2025-09-30 13:44:54 +01:00
Thread std.Io.Threaded: slightly different semantics 2025-11-21 19:54:41 -08:00
time std.time.epoch: change getDaysInMonth to accept the year as an argument 2025-03-08 14:25:28 -05:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
valgrind Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
zon update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
array_hash_map.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
array_list.zig std.ArrayList: actaully memset to undefined in shrinkRetainingCapacity and clearRetainingCapacity 2025-11-06 05:30:41 -08:00
ascii.zig std.ascii: rename indexOf functions to find 2025-12-05 14:31:27 +01:00
atomic.zig std.atomic: define cache line size for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
base64.zig Base64DecoderWithIgnore.calcSizeUpperBound cannot return an error (#25834) 2025-11-07 08:16:34 +01:00
bit_set.zig std.bit_set: Disable IntegerBitSet decltest on RISC-V with vector support 2025-07-01 23:03:15 +02:00
BitStack.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07: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 Change github links to codeberg 2025-12-05 14:12:39 +01:00
builtin.zig compiler: replace @Type with individual type-creating builtins 2025-11-22 22:42:37 +00:00
c.zig std.c: openbsd does not have SIGRTMIN/SIGRTMAX 2025-12-16 06:24:58 +01:00
coff.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
compress.zig std.compress: rework flate to new I/O API 2025-07-31 22:10:11 -07:00
crypto.zig std.crypto: add hybrid post-quantum/traditional key encapsulation 2025-11-27 12:10:17 +01:00
debug.zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
deque.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
DoublyLinkedList.zig *LinkedList.remove() assumes node is in the list 2025-10-25 21:10:02 -07:00
dwarf.zig Dwarf: cleanup emitted debug info 2024-08-22 08:44:08 +02:00
dynamic_library.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
elf.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
enums.zig windows: type safety improvements and more ntdll functions 2025-12-12 01:58:21 -05:00
fmt.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
fs.zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
gpu.zig spirv: error when execution mode is set more than once 2025-05-21 13:01:21 +03:30
hash.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
hash_map.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
heap.zig std.heap: remove raw_c_allocator 2025-12-06 22:08:40 +01:00
http.zig http.requestHasBody: a PUT response can have a body 2025-11-26 20:08:14 -08:00
Io.zig std.Io.Queue: introduce closure and fix a bug 2025-12-21 13:07:04 +00:00
json.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
leb128.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
log.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
macho.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
math.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
mem.zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
meta.zig std: Remove a handful of things deprecated during the 0.15 release cycle 2025-11-27 20:17:04 +00:00
multi_array_list.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
once.zig compiler,lib,test,langref: migrate @setCold to @branchHint 2024-08-27 00:44:35 +01:00
os.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
pdb.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
pie.zig std.pie: add missing clobbers on alpha and sparc 2025-11-14 12:19:38 +01:00
posix.zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
priority_dequeue.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
priority_queue.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
process.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
Progress.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
Random.zig std.Io.net: progress towards DNS resolution 2025-10-29 06:20:48 -07:00
SemanticVersion.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
simd.zig std.simd: suggest 1024-bit vectors for kvx 2025-11-10 09:40:44 +01:00
SinglyLinkedList.zig SinglyLinkedList.remove docs: Assumes -> asserts 2025-10-25 21:28:54 -07:00
sort.zig std.sort.partitionPoint: faster implementation (#30005) 2025-11-27 20:48:54 +01:00
start.zig std.start: add kvx support 2025-11-10 09:40:44 +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 all: replace all @Type usages 2025-11-22 22:42:38 +00:00
tar.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
Target.zig std.Target: openbsd's landisk port is only little endian 2025-12-16 06:27:25 +01:00
testing.zig Merge pull request 'std.ascii: rename indexOf functions to find' (#30101) from adria/zig:indexof-find into master 2025-12-22 12:50:46 +01:00
Thread.zig windows: type safety improvements and more ntdll functions 2025-12-12 01:58:21 -05:00
time.zig represent Mac Catalyst as aarch64-maccatalyst-none rather than aarch64-ios-macabi 2025-11-14 11:33:35 +01:00
treap.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
tz.zig std.tz: fix redundant endian handling 2025-08-28 18:30:57 -07:00
unicode.zig std: move some windows path checking logic 2025-10-29 06:20:50 -07:00
Uri.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
valgrind.zig remove condition codes 2025-07-16 10:27:39 -07:00
wasm.zig wasm linker: implement @tagName for sparse enums 2025-01-15 15:11:36 -08:00
zig.zig compiler: replace @Type with individual type-creating builtins 2025-11-22 22:42:37 +00:00
zip.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
zon.zig zon: Add anonymous struct literal in the example 2025-08-15 23:35:16 +02:00