aboutsummaryrefslogtreecommitdiff
path: root/src/bundler/entry_points.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundler/entry_points.zig')
-rw-r--r--src/bundler/entry_points.zig4
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(