From e4a2d75e4a58dfeeed5ae83a5356147687a7bcee Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 30 Dec 2025 11:32:25 +0000 Subject: [PATCH] chore: move web_worker.zig to web/workers/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Web Worker functionality belongs with the workers directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/buntime/{ => web/workers}/web_worker.zig | 2 +- src/buntime/webcore.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/buntime/{ => web/workers}/web_worker.zig (99%) diff --git a/src/buntime/web_worker.zig b/src/buntime/web/workers/web_worker.zig similarity index 99% rename from src/buntime/web_worker.zig rename to src/buntime/web/workers/web_worker.zig index 7714d889d1..5904defd96 100644 --- a/src/buntime/web_worker.zig +++ b/src/buntime/web/workers/web_worker.zig @@ -642,7 +642,7 @@ comptime { } const std = @import("std"); -const WTFStringImpl = @import("../string.zig").WTFStringImpl; +const WTFStringImpl = @import("../../../string.zig").WTFStringImpl; const bun = @import("bun"); const Async = bun.Async; diff --git a/src/buntime/webcore.zig b/src/buntime/webcore.zig index b46b659962..8597b709d4 100644 --- a/src/buntime/webcore.zig +++ b/src/buntime/webcore.zig @@ -14,7 +14,7 @@ pub const ByteListPool = bun.ObjectPool(bun.ByteList, null, true, 8); pub const Crypto = @import("./webcore/webcrypto/Crypto.zig"); pub const AbortSignal = @import("./web/events/AbortSignal.zig").AbortSignal; -pub const WebWorker = @import("./web_worker.zig"); +pub const WebWorker = @import("./web/workers/web_worker.zig"); pub const AutoFlusher = @import("./webcore/AutoFlusher.zig"); pub const EncodingLabel = @import("./web/encoding/EncodingLabel.zig").EncodingLabel; pub const Fetch = @import("./web/fetch/fetch.zig");