diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-02-13 13:39:06 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-15 10:48:12 -0700 |
| commit | 5b90fa05a4e5b155f25319713acfc67ad9516c69 (patch) | |
| tree | 6aaffe4ec16f7f6a18539bf2397176e001bf71cf /src/Package.zig | |
| parent | 0b744d7d670d00fa865ebd17847cbdc1a909ba70 (diff) | |
| download | zig-5b90fa05a4e5b155f25319713acfc67ad9516c69.tar.gz zig-5b90fa05a4e5b155f25319713acfc67ad9516c69.zip | |
extract ThreadPool and WaitGroup from compiler to std lib
Diffstat (limited to 'src/Package.zig')
| -rw-r--r-- | src/Package.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Package.zig b/src/Package.zig index c238d3d567..87d52197bd 100644 --- a/src/Package.zig +++ b/src/Package.zig @@ -8,11 +8,11 @@ const Allocator = mem.Allocator; const assert = std.debug.assert; const log = std.log.scoped(.package); const main = @import("main.zig"); +const ThreadPool = std.Thread.Pool; +const WaitGroup = std.Thread.WaitGroup; const Compilation = @import("Compilation.zig"); const Module = @import("Module.zig"); -const ThreadPool = @import("ThreadPool.zig"); -const WaitGroup = @import("WaitGroup.zig"); const Cache = std.Build.Cache; const build_options = @import("build_options"); const Manifest = @import("Manifest.zig"); |
