aboutsummaryrefslogtreecommitdiff
path: root/src/bundler/entry_points.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-15 17:52:04 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-15 17:52:04 -0800
commit934360646fd063a84c6527eea059dc40ae0050bb (patch)
tree41d17932e07fd3230ab924b102079d84ee0403e3 /src/bundler/entry_points.zig
parent98df9d7703708cc7351563b9500d6a337003c3eb (diff)
downloadbun-u/vjpr/zig-0.10.tar.gz
bun-u/vjpr/zig-0.10.tar.zst
bun-u/vjpr/zig-0.10.zip
Diffstat (limited to 'src/bundler/entry_points.zig')
-rw-r--r--src/bundler/entry_points.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/entry_points.zig b/src/bundler/entry_points.zig
index 563544d1d..e391be277 100644
--- a/src/bundler/entry_points.zig
+++ b/src/bundler/entry_points.zig
@@ -279,7 +279,7 @@ pub const MacroEntryPoint = struct {
hasher.update(function_name);
const truncated_u32 = @truncate(u32, hasher.final());
- const specifier = std.fmt.bufPrint(buf, js_ast.Macro.namespaceWithColon ++ "//{x}.js", .{truncated_u32}) catch unreachable;
+ const specifier = std.fmt.bufPrint(buf, js_ast.Macro.namespaceWithColon ++ "//{any}.js", .{bun.fmt.x(truncated_u32)}) catch unreachable;
len.* = @truncate(u32, specifier.len);
return generateIDFromSpecifier(specifier);