authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-09 17:09:27-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-09 17:10:39-04:00
loge6ebc41a07b294e602f8594e001df78e143e190f
tree834c1cc55ece98918db6017cfabc8af706efca74
parent0bf6796b76501efef486815946ce12932d6f6a21
signaturelock-open Commit is signed but in an unrecognized format.

add a little compile error to make Future Andy's life easier


1 files changed, 3 insertions(+), 0 deletions(-)

tools/process_headers.zig+3
...@@ -504,6 +504,9 @@ const Contents = struct {...@@ -504,6 +504,9 @@ const Contents = struct {
504 }504 }
505};505};
506506
507comptime {
508 @compileError("the behavior of std.AutoHashMap changed and []const u8 will be treated as a pointer. will need to update the hash maps to actually do some kind of hashing on the slices.");
509}
507const HashToContents = std.AutoHashMap([]const u8, Contents);510const HashToContents = std.AutoHashMap([]const u8, Contents);
508const TargetToHash = std.HashMap(DestTarget, []const u8, DestTarget.hash, DestTarget.eql);511const TargetToHash = std.HashMap(DestTarget, []const u8, DestTarget.hash, DestTarget.eql);
509const PathTable = std.AutoHashMap([]const u8, *TargetToHash);512const PathTable = std.AutoHashMap([]const u8, *TargetToHash);