aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-07-12 12:40:32 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-12 12:40:32 -0700
commit28dd9d478d24190ab5c8c4b892d7dfc16c380ae0 (patch)
treef717633b02bdd9cf1c7bc724908e8d19ef097981 /src/link.zig
parent03156e589939993bba339162d27d24fd511601c6 (diff)
downloadzig-28dd9d478d24190ab5c8c4b892d7dfc16c380ae0.tar.gz
zig-28dd9d478d24190ab5c8c4b892d7dfc16c380ae0.zip
C backend: TypedefMap is now ArrayHashMap
The C backend depends on insertion order into this map so that type definitions will be declared before they are used.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig
index 61a46e8b06..02d9afaf07 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -168,7 +168,7 @@ pub const File = struct {
};
/// For DWARF .debug_info.
- pub const DbgInfoTypeRelocsTable = std.HashMapUnmanaged(Type, DbgInfoTypeReloc, Type.HashContext, std.hash_map.default_max_load_percentage);
+ pub const DbgInfoTypeRelocsTable = std.HashMapUnmanaged(Type, DbgInfoTypeReloc, Type.HashContext64, std.hash_map.default_max_load_percentage);
/// For DWARF .debug_info.
pub const DbgInfoTypeReloc = struct {