| author | |
| committer | |
| log | ad868b45cfd445aa4d3f53cf8dda4b62b73efb54 |
| tree | 6e1bc18b30457fc5caa36e57a6fe1767ef9e6581 |
| parent | a91507c42ff955265b5ce054d075117a60f09a3f |
2 files changed, 3 insertions(+), 1 deletions(-)
src/mod.zig+2-1| ... | @@ -1,6 +1,7 @@ | ... | @@ -1,6 +1,7 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | const root = @import("root"); | 2 | const root = @import("root"); |
| 3 | const impl = std.meta.globalOption("tracer_impl", type) orelse none; | 3 | const extras = @import("extras"); |
| 4 | const impl = extras.globalOption(type, "tracer_impl") orelse none; | ||
| 4 | 5 | ||
| 5 | threadlocal var started = false; | 6 | threadlocal var started = false; |
| 6 | 7 |
zigmod.yml+1| ... | @@ -4,3 +4,4 @@ main: src/mod.zig | ... | @@ -4,3 +4,4 @@ main: src/mod.zig |
| 4 | license: MIT | 4 | license: MIT |
| 5 | description: Generic tracing library for Zig, supports multiple backends. | 5 | description: Generic tracing library for Zig, supports multiple backends. |
| 6 | dependencies: | 6 | dependencies: |
| 7 | - src: git https://github.com/nektro/zig-extras |