mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.Build.Step.ObjCopy: remove random bytes from cache hash
The cache hash already has the zig version in there, so it's not really needed.
This commit is contained in:
parent
768cb7e406
commit
818f9cb5a0
1 changed files with 0 additions and 4 deletions
|
|
@ -98,10 +98,6 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void {
|
|||
var man = b.graph.cache.obtain();
|
||||
defer man.deinit();
|
||||
|
||||
// Random bytes to make ObjCopy unique. Refresh this with new random
|
||||
// bytes when ObjCopy implementation is modified incompatibly.
|
||||
man.hash.add(@as(u32, 0xe18b7baf));
|
||||
|
||||
const full_src_path = objcopy.input_file.getPath2(b, step);
|
||||
_ = try man.addFile(full_src_path, null);
|
||||
man.hash.addOptionalBytes(objcopy.only_section);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue