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