mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Missing @TypeOf
This commit is contained in:
@@ -224,7 +224,7 @@ pub const GenerateHeader = struct {
|
||||
pub var linux_os_name: std.c.utsname = undefined;
|
||||
|
||||
pub fn forLinux() Analytics.Platform {
|
||||
linux_os_name = std.mem.zeroes(linux_os_name);
|
||||
linux_os_name = std.mem.zeroes(@TypeOf(linux_os_name));
|
||||
|
||||
std.c.uname(&linux_os_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user