riverdelta/std/rt/rt.mod.nil

11 lines
245 B
Text

mod alloc;
// The function parameters are not actually unused.
function memcpy(_dst: I32, _src: I32, _n: I32) =
___asm(
__locals(),
"local.get 2",
"local.get 1",
"local.get 0",
"memory.copy",
);