diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-05-24 14:55:57 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-05-24 15:01:02 +0200 |
| commit | aa720505862554ea3fa2223cb868bfd721497f70 (patch) | |
| tree | 0bc6d2ff0cce1603969756437f0a12ce980938f3 /base | |
| parent | 856537f0ce11bd0e966fc6647b949fc99373ef29 (diff) | |
wasm: enable default temp allocator
After #3592 I think it makes sense to also enable the temp allocator by default
Diffstat (limited to 'base')
| -rw-r--r-- | base/runtime/default_temporary_allocator.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/runtime/default_temporary_allocator.odin b/base/runtime/default_temporary_allocator.odin index c90f0388d..b355ded70 100644 --- a/base/runtime/default_temporary_allocator.odin +++ b/base/runtime/default_temporary_allocator.odin @@ -1,7 +1,7 @@ package runtime DEFAULT_TEMP_ALLOCATOR_BACKING_SIZE: int : #config(DEFAULT_TEMP_ALLOCATOR_BACKING_SIZE, 4 * Megabyte) -NO_DEFAULT_TEMP_ALLOCATOR: bool : ODIN_OS == .Freestanding || ODIN_OS == .JS || ODIN_DEFAULT_TO_NIL_ALLOCATOR +NO_DEFAULT_TEMP_ALLOCATOR: bool : ODIN_OS == .Freestanding || ODIN_DEFAULT_TO_NIL_ALLOCATOR when NO_DEFAULT_TEMP_ALLOCATOR { Default_Temp_Allocator :: struct {} |