Commit 79a59c5165

Andrew Kelley <andrew@ziglang.org>
2025-10-14 07:10:29
coff linker: don't check the time
compiler toolchains have no business knowing what time it is
1 parent 0732ff2
Changed files (1)
src
src/link/Coff.zig
@@ -610,7 +610,7 @@ fn create(
         .Obj => false,
     };
     const machine = target.toCoffMachine();
-    const timestamp: u32 = if (options.repro) 0 else @truncate(@as(u64, @bitCast(std.time.timestamp())));
+    const timestamp: u32 = 0;
     const major_subsystem_version = options.major_subsystem_version orelse 6;
     const minor_subsystem_version = options.minor_subsystem_version orelse 0;
     const magic: std.coff.OptionalHeader.Magic = switch (target.ptrBitWidth()) {