diff options
author | 2023-07-11 19:14:34 -0700 | |
---|---|---|
committer | 2023-07-11 19:14:34 -0700 | |
commit | cbb88672f217a90db1aa1eb29cd92d5d9035b22b (patch) | |
tree | 43a00501f3cde495967e116f0b660777051551f8 /src/bundler/entry_points.zig | |
parent | 1f900cff453700b19bca2acadfe26da4468c1282 (diff) | |
parent | 34b0e7a2bbd8bf8097341cdb0075d0908283e834 (diff) | |
download | bun-jarred/esm-conditions.tar.gz bun-jarred/esm-conditions.tar.zst bun-jarred/esm-conditions.zip |
Merge branch 'main' into jarred/esm-conditionsjarred/esm-conditions
Diffstat (limited to '')
-rw-r--r-- | src/bundler/entry_points.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bundler/entry_points.zig b/src/bundler/entry_points.zig index 34afcb491..abc7eb602 100644 --- a/src/bundler/entry_points.zig +++ b/src/bundler/entry_points.zig @@ -256,7 +256,7 @@ pub const MacroEntryPoint = struct { source: logger.Source = undefined, pub fn generateID(entry_path: string, function_name: string, buf: []u8, len: *u32) i32 { - var hasher = std.hash.Wyhash.init(0); + var hasher = bun.Wyhash.init(0); hasher.update(js_ast.Macro.namespaceWithColon); hasher.update(entry_path); hasher.update(function_name); @@ -270,7 +270,7 @@ pub const MacroEntryPoint = struct { } pub fn generateIDFromSpecifier(specifier: string) i32 { - return @bitCast(i32, @truncate(u32, std.hash.Wyhash.hash(0, specifier))); + return @bitCast(i32, @truncate(u32, bun.hash(specifier))); } pub fn generate( |