aboutsummaryrefslogtreecommitdiff
path: root/tools/process_headers.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-08-09 17:09:27 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-08-09 17:10:39 -0400
commite6ebc41a07b294e602f8594e001df78e143e190f (patch)
tree834c1cc55ece98918db6017cfabc8af706efca74 /tools/process_headers.zig
parent0bf6796b76501efef486815946ce12932d6f6a21 (diff)
downloadzig-e6ebc41a07b294e602f8594e001df78e143e190f.tar.gz
zig-e6ebc41a07b294e602f8594e001df78e143e190f.zip
add a little compile error to make Future Andy's life easier
Diffstat (limited to 'tools/process_headers.zig')
-rw-r--r--tools/process_headers.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig
index f191721316..805fc3d5f7 100644
--- a/tools/process_headers.zig
+++ b/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);