authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-30 01:15:38 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-30 01:15:38 -07:00
logad868b45cfd445aa4d3f53cf8dda4b62b73efb54
tree6e1bc18b30457fc5caa36e57a6fe1767ef9e6581
parenta91507c42ff955265b5ce054d075117a60f09a3f

globalOption got dropped from std.meta, use extras


2 files changed, 3 insertions(+), 1 deletions(-)

src/mod.zig+2-1
...@@ -1,6 +1,7 @@...@@ -1,6 +1,7 @@
1const std = @import("std");1const std = @import("std");
2const root = @import("root");2const root = @import("root");
3const impl = std.meta.globalOption("tracer_impl", type) orelse none;3const extras = @import("extras");
4const impl = extras.globalOption(type, "tracer_impl") orelse none;
45
5threadlocal var started = false;6threadlocal var started = false;
67
zigmod.yml+1
...@@ -4,3 +4,4 @@ main: src/mod.zig...@@ -4,3 +4,4 @@ main: src/mod.zig
4license: MIT4license: MIT
5description: Generic tracing library for Zig, supports multiple backends.5description: Generic tracing library for Zig, supports multiple backends.
6dependencies:6dependencies:
7 - src: git https://github.com/nektro/zig-extras