mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
don't try to test SmpAllocator in single threaded mode
This commit is contained in:
parent
1754e014f5
commit
bfabb703e3
@ -497,6 +497,7 @@ test raw_c_allocator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test smp_allocator {
|
test smp_allocator {
|
||||||
|
if (builtin.single_threaded) return;
|
||||||
try testAllocator(smp_allocator);
|
try testAllocator(smp_allocator);
|
||||||
try testAllocatorAligned(smp_allocator);
|
try testAllocatorAligned(smp_allocator);
|
||||||
try testAllocatorLargeAlignment(smp_allocator);
|
try testAllocatorLargeAlignment(smp_allocator);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user