diff options
author | 2023-04-19 00:01:27 -0700 | |
---|---|---|
committer | 2023-04-19 00:01:27 -0700 | |
commit | ea47ed0ee5969d31e03c55ba3bc384466615e513 (patch) | |
tree | f7e40627a41bfbdb626ed4d9fd2fe9adb26710df /misctools | |
parent | 36f9fd607a238fc029d64cc27a26b203a856cbbd (diff) | |
download | bun-ea47ed0ee5969d31e03c55ba3bc384466615e513.tar.gz bun-ea47ed0ee5969d31e03c55ba3bc384466615e513.tar.zst bun-ea47ed0ee5969d31e03c55ba3bc384466615e513.zip |
Fix broken autocomplete
Diffstat (limited to 'misctools')
-rw-r--r-- | misctools/features.zig | 2 | ||||
-rw-r--r-- | misctools/fetch.zig | 10 | ||||
-rw-r--r-- | misctools/http_bench.zig | 4 | ||||
-rw-r--r-- | misctools/machbench.zig | 10 | ||||
-rw-r--r-- | misctools/readlink-getfd.zig | 2 | ||||
-rw-r--r-- | misctools/readlink-realpath.zig | 2 | ||||
-rw-r--r-- | misctools/tgz.zig | 2 |
7 files changed, 16 insertions, 16 deletions
diff --git a/misctools/features.zig b/misctools/features.zig index 2a2f3be83..7bedbd042 100644 --- a/misctools/features.zig +++ b/misctools/features.zig @@ -1,7 +1,7 @@ const std = @import("std"); const path_handler = @import("../src/resolver/resolve_path.zig"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; diff --git a/misctools/fetch.zig b/misctools/fetch.zig index cdefd29d4..991491011 100644 --- a/misctools/fetch.zig +++ b/misctools/fetch.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; @@ -9,18 +9,18 @@ const MutableString = bun.MutableString; const stringZ = bun.stringZ; const default_allocator = bun.default_allocator; const C = bun.C; -pub usingnamespace @import("bun"); +pub usingnamespace @import("root").bun; const clap = bun.clap; const URL = @import("../src/url.zig").URL; -const Headers = @import("bun").HTTP.Headers; +const Headers = @import("root").bun.HTTP.Headers; const Method = @import("../src/http/method.zig").Method; const ColonListType = @import("../src/cli/colon_list_type.zig").ColonListType; const HeadersTuple = ColonListType(string, noop_resolver); const path_handler = @import("../src/resolver/resolve_path.zig"); -const HTTPThread = @import("bun").HTTP.HTTPThread; -const HTTP = @import("bun").HTTP; +const HTTPThread = @import("root").bun.HTTP.HTTPThread; +const HTTP = @import("root").bun.HTTP; fn noop_resolver(in: string) !string { return in; } diff --git a/misctools/http_bench.zig b/misctools/http_bench.zig index efb1069fe..4075daf49 100644 --- a/misctools/http_bench.zig +++ b/misctools/http_bench.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; @@ -177,7 +177,7 @@ pub const Arguments = struct { } }; -const HTTP = @import("bun").HTTP; +const HTTP = @import("root").bun.HTTP; const NetworkThread = HTTP.NetworkThread; var stdout_: std.fs.File = undefined; diff --git a/misctools/machbench.zig b/misctools/machbench.zig index 729ed7be5..5da20b5ba 100644 --- a/misctools/machbench.zig +++ b/misctools/machbench.zig @@ -1,6 +1,6 @@ // most of this file is copy pasted from other files in misctools const std = @import("std"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; @@ -11,16 +11,16 @@ const stringZ = bun.stringZ; const default_allocator = bun.default_allocator; const C = bun.C; const clap = @import("../src/deps/zig-clap/clap.zig"); -const AsyncIO = @import("bun").AsyncIO; +const AsyncIO = @import("root").bun.AsyncIO; const URL = @import("../src/url.zig").URL; -const Headers = @import("bun").HTTP.Headers; +const Headers = @import("root").bun.HTTP.Headers; const Method = @import("../src/http/method.zig").Method; const ColonListType = @import("../src/cli/colon_list_type.zig").ColonListType; const HeadersTuple = ColonListType(string, noop_resolver); const path_handler = @import("../src/resolver/resolve_path.zig"); -const NetworkThread = @import("bun").HTTP.NetworkThread; -const HTTP = @import("bun").HTTP; +const NetworkThread = @import("root").bun.HTTP.NetworkThread; +const HTTP = @import("root").bun.HTTP; fn noop_resolver(in: string) !string { return in; } diff --git a/misctools/readlink-getfd.zig b/misctools/readlink-getfd.zig index 79c1a7e34..ddf006398 100644 --- a/misctools/readlink-getfd.zig +++ b/misctools/readlink-getfd.zig @@ -1,7 +1,7 @@ const std = @import("std"); const path_handler = @import("../src/resolver/resolve_path.zig"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; diff --git a/misctools/readlink-realpath.zig b/misctools/readlink-realpath.zig index d466c8fd3..db94094e0 100644 --- a/misctools/readlink-realpath.zig +++ b/misctools/readlink-realpath.zig @@ -1,7 +1,7 @@ const std = @import("std"); const path_handler = @import("../src/resolver/resolve_path.zig"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; diff --git a/misctools/tgz.zig b/misctools/tgz.zig index a5887c77d..2d6a70a78 100644 --- a/misctools/tgz.zig +++ b/misctools/tgz.zig @@ -1,7 +1,7 @@ const std = @import("std"); const path_handler = @import("../src/resolver/resolve_path.zig"); -const bun = @import("bun"); +const bun = @import("root").bun; const string = bun.string; const Output = bun.Output; const Global = bun.Global; |