diff options
author | 2022-12-30 04:44:04 -0800 | |
---|---|---|
committer | 2022-12-30 04:46:52 -0800 | |
commit | f444e628ca676a7966a34a1da7cf9f4f26af7fe0 (patch) | |
tree | e3381c1227676fe05370cec976293c43739ebd3d /src | |
parent | 42be4e52fe5312e30c66ae28dccaa432e509ff86 (diff) | |
download | bun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.tar.gz bun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.tar.zst bun-f444e628ca676a7966a34a1da7cf9f4f26af7fe0.zip |
Don't use zig's memcpy function
It is very slow
Diffstat (limited to 'src')
-rw-r--r-- | src/main.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 9b7c5eb08..61e202788 100644 --- a/src/main.zig +++ b/src/main.zig @@ -45,5 +45,6 @@ pub const build_options = @import("build_options"); pub const bun = @import("./bun.zig"); comptime { - _ = @import("compiler_rt"); + if (!bun.Environment.isRelease) + _ = @import("compiler_rt"); } |