mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
coff linker: don't check the time
compiler toolchains have no business knowing what time it is
This commit is contained in:
parent
0732ff2263
commit
79a59c5165
1 changed files with 1 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue