Default to panic allocator for wasm targets

This commit is contained in:
gingerBill
2023-06-26 15:55:52 +01:00
parent 6c6f9f7d25
commit 3d9328fd79
4 changed files with 59 additions and 11 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
//+build js
package runtime
default_allocator_proc :: nil_allocator_proc
default_allocator :: nil_allocator
default_allocator_proc :: panic_allocator_proc
default_allocator :: panic_allocator