aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/default_allocators_wasi.odin
diff options
context:
space:
mode:
Diffstat (limited to 'base/runtime/default_allocators_wasi.odin')
-rw-r--r--base/runtime/default_allocators_wasi.odin5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/runtime/default_allocators_wasi.odin b/base/runtime/default_allocators_wasi.odin
new file mode 100644
index 000000000..a7e6842a6
--- /dev/null
+++ b/base/runtime/default_allocators_wasi.odin
@@ -0,0 +1,5 @@
+//+build wasi
+package runtime
+
+default_allocator_proc :: panic_allocator_proc
+default_allocator :: panic_allocator