diff options
| author | 2022-11-29 02:42:56 -0800 | |
|---|---|---|
| committer | 2022-11-29 02:42:56 -0800 | |
| commit | b631ea7d725a42954c577ea686ae711ef04f63e1 (patch) | |
| tree | 37852a650a0ec02fd6042919dc476c7dab550529 /src/string_immutable.zig | |
| parent | 7b59d9d97c4d4543d8fe2a2222781d7b89539fc2 (diff) | |
| download | bun-b631ea7d725a42954c577ea686ae711ef04f63e1.tar.gz bun-b631ea7d725a42954c577ea686ae711ef04f63e1.tar.zst bun-b631ea7d725a42954c577ea686ae711ef04f63e1.zip | |
import everything from "bun" where possible
Diffstat (limited to 'src/string_immutable.zig')
| -rw-r--r-- | src/string_immutable.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 3b6915201..f89e6d12f 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -4,7 +4,7 @@ const Environment = @import("./env.zig"); const string = @import("string_types.zig").string; const stringZ = @import("string_types.zig").stringZ; const CodePoint = @import("string_types.zig").CodePoint; -const bun = @import("global.zig"); +const bun = @import("bun"); pub const joiner = @import("./string_joiner.zig"); const assert = std.debug.assert; @@ -1598,7 +1598,7 @@ pub fn elementLengthLatin1IntoUTF8(comptime Type: type, latin1_: Type) usize { return latin1_.len + total_non_ascii_count; } -const JSC = @import("javascript_core"); +const JSC = @import("bun").JSC; pub fn copyLatin1IntoUTF16(comptime Buffer: type, buf_: Buffer, comptime Type: type, latin1_: Type) EncodeIntoResult { var buf = buf_; |
