hare

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

commit 6f308f1bd2edcc184473a840b9c30644763f7aa4
parent b480415ea6804b34232339dff16d3002808b8465
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 13 Mar 2021 17:56:32 -0500

stdlib: add rt sockets

Diffstat:
Mgen-stdlib | 5+++--
Mstdlib.mk | 2++
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gen-stdlib b/gen-stdlib @@ -9,10 +9,10 @@ # # Then add your module to the list of modules at the bottom. # -# Then run ./gen-stdlib > mk/stdlib.mk to generate new rules. +# Then run ./gen-stdlib > stdlib.mk to generate new rules. srcdir="$(dirname "$0")" -eval ". $srcdir/mk/gen-stdlib.sh" +eval ". $srcdir/gen-stdlib.sh" gensrcs_rt() { gen_srcs rt \ @@ -26,6 +26,7 @@ gensrcs_rt() { '$(PLATFORM)/syscalls.ha' \ '$(PLATFORM)/signal.ha' \ '$(PLATFORM)/stat.ha' \ + '$(PLATFORM)/socket.ha' \ '$(ARCH)/jmp.ha' \ ensure.ha \ jmp.ha \ diff --git a/stdlib.mk b/stdlib.mk @@ -13,6 +13,7 @@ stdlib_rt_srcs= \ $(STDLIB)/rt/$(PLATFORM)/syscalls.ha \ $(STDLIB)/rt/$(PLATFORM)/signal.ha \ $(STDLIB)/rt/$(PLATFORM)/stat.ha \ + $(STDLIB)/rt/$(PLATFORM)/socket.ha \ $(STDLIB)/rt/$(ARCH)/jmp.ha \ $(STDLIB)/rt/ensure.ha \ $(STDLIB)/rt/jmp.ha \ @@ -559,6 +560,7 @@ testlib_rt_srcs= \ $(STDLIB)/rt/$(PLATFORM)/syscalls.ha \ $(STDLIB)/rt/$(PLATFORM)/signal.ha \ $(STDLIB)/rt/$(PLATFORM)/stat.ha \ + $(STDLIB)/rt/$(PLATFORM)/socket.ha \ $(STDLIB)/rt/$(ARCH)/jmp.ha \ $(STDLIB)/rt/ensure.ha \ $(STDLIB)/rt/jmp.ha \