diff options
-rw-r--r-- | src/bun.js/node/types.zig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bun.js/node/types.zig b/src/bun.js/node/types.zig index efd6d806b..d9f725eaa 100644 --- a/src/bun.js/node/types.zig +++ b/src/bun.js/node/types.zig @@ -1321,7 +1321,7 @@ pub fn StatType(comptime Big: bool) type { } }; - return struct { + return extern struct { pub usingnamespace if (Big) JSC.Codegen.JSBigIntStats else JSC.Codegen.JSStats; // Stats stores these as i32, but BigIntStats stores all of these as i64 @@ -1332,11 +1332,12 @@ pub fn StatType(comptime Big: bool) type { uid: Int, gid: Int, rdev: Int, - // Always store size as a 64-bit integer - size: i64, blksize: Int, blocks: Int, + // Always store size as a 64-bit integer + size: i64, + // _ms is either a float if Small, or a 64-bit integer if Big atime_ms: Float, mtime_ms: Float, |