Browse Source

Merge pull request #3621 from laytan/enable-default-temp-allocator-wasm

wasm: enable default temp allocator
Jeroen van Rijn 1 year ago
parent
commit
d698d4cdae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      base/runtime/default_temporary_allocator.odin

+ 1 - 1
base/runtime/default_temporary_allocator.odin

@@ -1,7 +1,7 @@
 package runtime
 package runtime
 
 
 DEFAULT_TEMP_ALLOCATOR_BACKING_SIZE: int : #config(DEFAULT_TEMP_ALLOCATOR_BACKING_SIZE, 4 * Megabyte)
 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 {
 when NO_DEFAULT_TEMP_ALLOCATOR {
 	Default_Temp_Allocator :: struct {}
 	Default_Temp_Allocator :: struct {}