diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-07-07 07:33:09 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-07-07 22:59:52 -0400 |
| commit | bdae01ab047accbbc6dcd014d008f2554aa78696 (patch) | |
| tree | e82d85afcf5ef099505da12335497e80e29d5969 /src/Zcu/PerThread.zig | |
| parent | 49b25475ad0d224e13d989f9ff860b32fca6315a (diff) | |
| download | zig-bdae01ab047accbbc6dcd014d008f2554aa78696.tar.gz zig-bdae01ab047accbbc6dcd014d008f2554aa78696.zip | |
InternPool: implement and use thread-safe list for extra and limbs
Diffstat (limited to 'src/Zcu/PerThread.zig')
| -rw-r--r-- | src/Zcu/PerThread.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig index 0396d06b98..b0fc35b552 100644 --- a/src/Zcu/PerThread.zig +++ b/src/Zcu/PerThread.zig @@ -3,7 +3,7 @@ zcu: *Zcu, /// Dense, per-thread unique index. tid: Id, -pub const Id = if (InternPool.single_threaded) enum { main } else enum(usize) { main, _ }; +pub const Id = if (InternPool.single_threaded) enum { main } else enum(u8) { main, _ }; pub fn astGenFile( pt: Zcu.PerThread, |
