aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-05-24 15:42:51 +0200
committerGitHub <noreply@github.com>2024-05-24 15:42:51 +0200
commitd698d4cdaebb4a5017521d58db24e23ae6605634 (patch)
tree058a7f85c5bb3c8113bdf449720d85ff423b64e6
parentd99e1616cf0199895ede2a82490197a9e5ccebd9 (diff)
parentaa720505862554ea3fa2223cb868bfd721497f70 (diff)
Merge pull request #3621 from laytan/enable-default-temp-allocator-wasm
wasm: enable default temp allocator
-rw-r--r--base/runtime/default_temporary_allocator.odin2
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 {}