diff options
Diffstat (limited to '')
-rw-r--r-- | src/bun.js/base.zig (renamed from src/javascript/jsc/base.zig) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/javascript/jsc/base.zig b/src/bun.js/base.zig index eaf15beba..1271deb19 100644 --- a/src/javascript/jsc/base.zig +++ b/src/bun.js/base.zig @@ -1,6 +1,6 @@ -pub const js = @import("../../jsc.zig").C; +pub const js = @import("../jsc.zig").C; const std = @import("std"); -const bun = @import("../../global.zig"); +const bun = @import("../global.zig"); const string = bun.string; const Output = bun.Output; const Global = bun.Global; @@ -13,7 +13,7 @@ const C = bun.C; const JavaScript = @import("./javascript.zig"); const ResolveError = JavaScript.ResolveError; const BuildError = JavaScript.BuildError; -const JSC = @import("../../jsc.zig"); +const JSC = @import("../jsc.zig"); const WebCore = @import("./webcore.zig"); const Test = @import("./test/jest.zig"); const Fetch = WebCore.Fetch; @@ -21,10 +21,10 @@ const Response = WebCore.Response; const Request = WebCore.Request; const Router = @import("./api/router.zig"); const FetchEvent = WebCore.FetchEvent; -const IdentityContext = @import("../../identity_context.zig").IdentityContext; +const IdentityContext = @import("../identity_context.zig").IdentityContext; const Body = WebCore.Body; -const TaggedPointerTypes = @import("../../tagged_pointer.zig"); +const TaggedPointerTypes = @import("../tagged_pointer.zig"); const TaggedPointerUnion = TaggedPointerTypes.TaggedPointerUnion; pub const ExceptionValueRef = [*c]js.JSValueRef; @@ -2564,7 +2564,7 @@ pub export fn ExternalBuffer_deallocator(bytes_: *anyopaque, ctx: *anyopaque) ca } pub export fn MarkedArrayBuffer_deallocator(bytes_: *anyopaque, _: *anyopaque) void { - const mimalloc = @import("../../allocators/mimalloc.zig"); + const mimalloc = @import("../allocators/mimalloc.zig"); // zig's memory allocator interface won't work here // mimalloc knows the size of things // but we don't @@ -2583,9 +2583,9 @@ pub fn castObj(obj: js.JSObjectRef, comptime Type: type) *Type { return JSPrivateDataPtr.from(js.JSObjectGetPrivate(obj)).as(Type); } -const JSNode = @import("../../js_ast.zig").Macro.JSNode; -const LazyPropertiesObject = @import("../../js_ast.zig").Macro.LazyPropertiesObject; -const ModuleNamespace = @import("../../js_ast.zig").Macro.ModuleNamespace; +const JSNode = @import("../js_ast.zig").Macro.JSNode; +const LazyPropertiesObject = @import("../js_ast.zig").Macro.LazyPropertiesObject; +const ModuleNamespace = @import("../js_ast.zig").Macro.ModuleNamespace; const FetchTaskletContext = Fetch.FetchTasklet.FetchTaskletContext; const Expect = Test.Expect; const DescribeScope = Test.DescribeScope; |