1 parent 22d5ee4 commit f323d0eCopy full SHA for f323d0e
1 file changed
src/otel.zig
@@ -108,7 +108,7 @@ pub const Resource = struct {
108
// Auto-detect process information at runtime
109
updated.process_pid = switch (@import("builtin").os.tag) {
110
.linux => @intCast(std.os.linux.getpid()),
111
- .windows => @intCast(std.os.windows.kernel32.GetCurrentProcessId()),
+ .windows => @intCast(std.os.windows.GetCurrentProcessId()),
112
.macos => @intCast(std.c.getpid()),
113
else => null,
114
};
0 commit comments