InternPool: enable separate codegen/linking thread

Let's see what happens :)
This commit is contained in:
Jacob Young 2024-07-14 23:14:06 -04:00
parent 9d1820d206
commit 00fdbf05f3
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ free_dep_entries: std.ArrayListUnmanaged(DepEntry.Index) = .{},
/// Whether a multi-threaded intern pool is useful.
/// Currently `false` until the intern pool is actually accessed
/// from multiple threads to reduce the cost of this data structure.
const want_multi_threaded = false;
const want_multi_threaded = true;
/// Whether a single-threaded intern pool impl is in use.
pub const single_threaded = builtin.single_threaded or !want_multi_threaded;

View File

@ -572,7 +572,8 @@ pub inline fn backendSupportsFeature(backend: std.builtin.CompilerBackend, compt
else => false,
},
.separate_thread => switch (backend) {
else => false,
.stage2_llvm => false,
else => true,
},
};
}