&self not runtime null-checked in macro #1827. Regression in temp allocators.

This commit is contained in:
Christoffer Lerno
2025-03-23 22:50:09 +01:00
parent b48588ca8f
commit 82f1b543ed
14 changed files with 335 additions and 224 deletions

View File

@@ -433,7 +433,7 @@ fn Allocator create_temp_allocator_on_demand() @private
if (!auto_create_temp)
{
auto_create_temp = true;
abort("Use '@pool_init()' to enable the temp allocator on a new thread. A pool is implicitly created only on the main thread.");
abort("Use '@pool_init()' to enable the temp allocator on a new thread. A temp allocator is only implicitly created on the main thread.");
}
return create_temp_allocator(base_allocator(), temp_allocator_size());
}