aboutsummaryrefslogtreecommitdiff
path: root/tools/update_crc_catalog.zig
AgeCommit message (Collapse)Author
5 daystest-standalone: fix most compilation errorsAndrew Kelley
5 daystools: fix compilation errorsAndrew Kelley
5 daysupdate remaining calls to std.Io.Threaded.initAndrew Kelley
5 daysfix compilation of incr-checkAndrew Kelley
2025-10-30std.debug.lockStderrWriter: also return ttyconfMatthew Lugg
`std.Io.tty.Config.detect` may be an expensive check (e.g. involving syscalls), and doing it every time we need to print isn't really necessary; under normal usage, we can compute the value once and cache it for the whole program's execution. Since anyone outputting to stderr may reasonably want this information (in fact they are very likely to), it makes sense to cache it and return it from `lockStderrWriter`. Call sites who do not need it will experience no significant overhead, and can just ignore the TTY config with a `const w, _` destructure.
2025-08-30update tools and other miscellaneous things to new APIsAndrew Kelley
2025-08-28update more to avoid GenericWriterAndrew Kelley
2025-08-11std.ArrayList: make unmanaged the defaultAndrew Kelley
2025-08-08std.Io: remove BufferedWriterAndrew Kelley
2025-07-16tools: fix some bitrotAlex Rønne Petersen
2025-07-07update standalone and incremental tests to new APIAndrew Kelley
2024-04-28std.hash.crc: simplify apiMarc Tiehuis
This removes the two original implementations in favour of the single generic one based on the Algorithm type. Previously we had three, very similar implementations which was somewhat confusing when knowing what one should actually be used. The previous polynomials all have equivalent variants available when using the Algorithm type.
2024-04-11std.hash.crc: get rid of usingnamespaceBrandon Black
This flips things around such that std/hash/crc.zig is generated by the catalog-based generation tool, and the real code that used to be in that file is moved out to std/hash/crc/impl.zig. The generated tests are moved to std/hash/crc/test.zig. By going this route, we eliminate the need for usingnamespace without changing anything for callers of these interfaces. The Crc32 tests are simply added to the fixed part of the generated output and compactified a bit. This was the second-to-last usage of usingnamespace left in std.
2023-09-06update crc catalog gen scriptMarc Tiehuis
2023-05-13std.mem: Rename splitFull/tokenizeFull to splitSequence/tokenizeSequenceRyan Liptak
I think this makes the name less ambiguous and more obvious that the suffix applies to the `delimiter`.
2023-05-13Update all std.mem.split calls to their appropriate functionRyan Liptak
Everywhere that can now use `splitScalar` should get a nice little performance boost.
2023-02-18update std lib and compiler sources to new for loop syntaxAndrew Kelley
2023-01-22Rewrite update_crc_catalog in zig and move tests to separate filefn ⌃ ⌥