Archived
1
0
Fork
You've already forked libtin
0
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.
  • Zig 100%
Find a file
2025年06月25日 17:55:13 -04:00
.gitignore initial commit 2024年11月20日 21:25:05 -05:00
build.zig initial commit 2024年11月20日 21:25:05 -05:00
build.zig.zon be precise with paths in build.zig.zon 2025年01月30日 17:05:59 -05:00
COPYING initial commit 2024年11月20日 21:25:05 -05:00
libtin.zig Add hasDecl, multiAlloc, and Time 2025年01月27日 21:43:11 -05:00
README Deprecation Notice 2025年06月25日 17:55:13 -04:00

-- 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.