aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-30 04:44:04 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-30 04:46:52 -0800
commitf444e628ca676a7966a34a1da7cf9f4f26af7fe0 (patch)
treee3381c1227676fe05370cec976293c43739ebd3d /build.zig
parent42be4e52fe5312e30c66ae28dccaa432e509ff86 (diff)
downloadbun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.tar.gz
bun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.tar.zst
bun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.zip
Don't use zig's memcpy function
It is very slow
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 2848ce9e6..930c1b5ea 100644
--- a/build.zig
+++ b/build.zig
@@ -90,7 +90,7 @@ fn addInternalPackages(step: *std.build.LibExeObjStep, allocator: std.mem.Alloca
// workaround for https://github.com/ziglang/zig/issues/14099
const compiler_rt: std.build.Pkg = .{
.name = "compiler_rt",
- .source = .{ .path = try std.fmt.allocPrint(allocator, "{s}/lib/compiler_rt.zig", .{std.fs.path.dirname(zig_exe).?}) },
+ .source = .{ .path = try std.fmt.allocPrint(allocator, "{s}/lib/compiler_rt/stack_probe.zig", .{std.fs.path.dirname(zig_exe).?}) },
};
step.addPackage(compiler_rt);
}