Skip to content

Commit

Permalink
refactor: remove root.JavaScriptCore
Browse files Browse the repository at this point in the history
  • Loading branch information
fel1x-developer committed Jan 14, 2025
1 parent 86b23a4 commit b3dbc14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ pub const completions = struct {
pub const bash = @embedFile("./completions/bun.bash");
pub const zsh = @embedFile("./completions/bun.zsh");
pub const fish = @embedFile("./completions/bun.fish");
};

pub const JavaScriptCore = @import("./src/jsc.zig");
};
2 changes: 1 addition & 1 deletion src/bun.js/webcore/S3Stat.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const bun = @import("../../bun.zig");
const JSC = @import("../../jsc.zig");
const JSC = bun.JSC;

pub const S3Stat = struct {
const log = bun.Output.scoped(.S3Stat, false);
Expand Down
2 changes: 1 addition & 1 deletion src/bun.zig
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ pub const invalid_fd: FileDescriptor = FDImpl.invalid.encode();

pub const simdutf = @import("./bun.js/bindings/bun-simdutf.zig");

pub const JSC = @import("root").JavaScriptCore;
pub const JSC = @import("./jsc.zig");
pub const AsyncIO = @import("async_io");

pub const logger = @import("./logger.zig");
Expand Down

0 comments on commit b3dbc14

Please sign in to comment.