diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-08-09 17:09:27 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-08-09 17:10:39 -0400 |
| commit | e6ebc41a07b294e602f8594e001df78e143e190f (patch) | |
| tree | 834c1cc55ece98918db6017cfabc8af706efca74 /tools/process_headers.zig | |
| parent | 0bf6796b76501efef486815946ce12932d6f6a21 (diff) | |
| download | zig-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.zig | 3 |
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); |
