Zig library for random general things I end up needing, but aren't in the standard library.
This repository has been archived on 2025年06月29日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
| .gitignore | initial commit | |
| build.zig | initial commit | |
| build.zig.zon | be precise with paths in build.zig.zon | |
| COPYING | initial commit | |
| libtin.zig | Add hasDecl, multiAlloc, and Time | |
| README | Deprecation Notice | |
-- libtin -- Zig library for random general things I end up needing, but aren't in the standard library. This library has been deprecated due to having a lack of a specific purpose. * The `Time` function has been updated and is now available in libgregtime (https://codeberg.org/gooncreeper/libgregtime) * The `std.meta`-like functions and `DebugStackTrace` are recommended to be directly put in your code when necessary. * Use of the other functionality is usually attributed to poor code, for example, `PackedAlignedPointer` can be better done with a packed struct and an array index instead of a pointer. Instead of `multiAlloc` it is cleaner to be do allocations individually, through an ArenaAllocator, or manually if one allocation is necessary.