main
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 12m39s
Based on MIT licensed code: https://github.com/ghostty-org/ghostty/blob/main/src/tripwire.zig
Tripwire
Library to test errdefer code paths. It is designed to be zero cost for runtime execution and only facilitates test builds.
This is a copy of the MIT licensed original code inside of ghostty and can be found here.
Please check out the write up for that library.
Usage
To add or update tripwire as a dependency in your project run the following command:
zig fetch --save git+https://gitea.yves-biener.de/yves-biener/tripwire
Add the dependency to your module as follows in your build.zig:
const zterm: *Dependency = b.dependency("tripwire", .{
.target = target,
.optimize = optimize,
});
Languages
Zig
100%