diff --git a/src/mod.zig b/src/mod.zig index caf04021028d20e81107d0cd424beeec12622833..6393c726b8196551d4e2c55ae87bf0453c61e652 100644 --- a/src/mod.zig +++ b/src/mod.zig @@ -2,7 +2,7 @@ const std = @import("std"); const root = @import("root"); const impl = std.meta.globalOption("tracer_impl", type) orelse none; -var started = false; +threadlocal var started = false; pub const none = @import("./none.zig"); pub const log = @import("./log.zig");