don't try to test SmpAllocator in single threaded mode

This commit is contained in:
Andrew Kelley committed 2025-02-07 15:36:00 -08:00
1 parent 1754e014f5
commit bfabb703e3
1 file changed
+1
+1
View File
@@ -497,6 +497,7 @@ test raw_c_allocator {
}
test smp_allocator {
if (builtin.single_threaded) return;
try testAllocator(smp_allocator);
try testAllocatorAligned(smp_allocator);
try testAllocatorLargeAlignment(smp_allocator);