hare

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

commit 2264611b30f7fe9db43a72ced79e5c66204a0d49
parent 416928a28b771f2bad0cbf27eb4cdf77a32b587b
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Fri,  5 Feb 2021 14:31:28 -0500

rt::segmalloc: remove obsolete TODO

Diffstat:
Mrt/+linux/segmalloc.ha | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/rt/+linux/segmalloc.ha b/rt/+linux/segmalloc.ha @@ -3,7 +3,6 @@ fn segmalloc(n: size) nullable *void = { let p: *void = mmap(null, n, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0z); - // TODO: remove the cast to nullable *void return if (p: uintptr: int == -ENOMEM) null else p; };