mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
add a little compile error to make Future Andy's life easier
This commit is contained in:
parent
0bf6796b76
commit
e6ebc41a07
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user