aboutsummaryrefslogtreecommitdiff
path: root/core/os/heap_js.odin
blob: ebc8f902d92b020ec933643c5d9c3376842d1618 (plain)
1
2
3
4
5
6
7
8
9
10
11
#+build js wasm32, js wasm64p32
#+private
package os

// None of this does anything on js/wasm.
// It's only here so importing `core:os` on wasm panics cleanly,
// without spamming about all sorts of missing procs and types.

import "base:runtime"

_heap_allocator_proc :: runtime.wasm_allocator_proc