Commit e6ebc41a07

Andrew Kelley <andrew@ziglang.org>
2019-08-09 23:09:27
add a little compile error to make Future Andy's life easier
1 parent 0bf6796
Changed files (1)
tools/process_headers.zig
@@ -504,6 +504,9 @@ const Contents = struct {
     }
 };
 
+comptime {
+    @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.");
+}
 const HashToContents = std.AutoHashMap([]const u8, Contents);
 const TargetToHash = std.HashMap(DestTarget, []const u8, DestTarget.hash, DestTarget.eql);
 const PathTable = std.AutoHashMap([]const u8, *TargetToHash);