hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 6cc807d85ad73b992584e3687d1bb3bf6ad3bb18
parent 6760f9a1bb6dd0e0e4042dd4e1313e5f000a1fb2
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 22 Jan 2021 13:11:28 -0500

rt: don't export memcpy

We generally want to avoid any external users pulling in rt for things
like this. We might re-introduce it in the bytes module or something
later.

Diffstat:
Mrt/memcpy.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/memcpy.ha b/rt/memcpy.ha @@ -1,4 +1,4 @@ -export fn memcpy(dest: *void, src: *void, amt: size) void = { +fn memcpy(dest: *void, src: *void, amt: size) void = { let a = dest: *[*]u8, b = src: *[*]u8; for (let i = 0z; i < amt; i += 1z) { a[i] = b[i];