yves-biener 1a44a6a4a0
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 12m39s
initial commit
Based on MIT licensed code: https://github.com/ghostty-org/ghostty/blob/main/src/tripwire.zig
2026-06-07 10:27:33 +02:00
2026-06-07 10:14:31 +02:00
2026-06-07 10:27:33 +02:00
2026-06-07 10:27:33 +02:00
2026-06-07 10:14:31 +02:00
2026-06-07 10:27:33 +02:00
2026-06-07 10:27:33 +02:00
2026-06-07 10:27:33 +02:00
2026-06-07 10:27:33 +02:00

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,
});
S
Description
No description provided
Readme MIT
31 KiB
Languages
Zig 100%