hare

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

commit f54f0bc4cc9f1d365307480644554c3f7166a79b
parent 46a829c092ede2b20837f42a3908c9646a5dd6f8
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 11 Mar 2021 10:19:44 -0500

Update stdlib

Diffstat:
Mgen-stdlib | 4++--
Mmk/stdlib.mk | 4++--
Mplan.ha | 3+--
3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gen-stdlib b/gen-stdlib @@ -18,13 +18,13 @@ gensrcs_rt() { gen_srcs rt \ '$(PLATFORM)/env.ha' \ '$(PLATFORM)/errno.ha' \ + '$(PLATFORM)/types.ha' \ '$(PLATFORM)/segmalloc.ha' \ '$(PLATFORM)/start.ha' \ - '$(PLATFORM)/stat.ha' \ '$(PLATFORM)/$(ARCH).ha' \ '$(PLATFORM)/syscallno$(ARCH).ha' \ '$(PLATFORM)/syscalls.ha' \ - '$(PLATFORM)/types.ha' \ + '$(PLATFORM)/stat.ha' \ '$(ARCH)/jmp.ha' \ ensure.ha \ jmp.ha \ diff --git a/mk/stdlib.mk b/mk/stdlib.mk @@ -7,11 +7,11 @@ stdlib_rt_srcs= \ $(STDLIB)/rt/$(PLATFORM)/errno.ha \ $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \ $(STDLIB)/rt/$(PLATFORM)/start.ha \ - $(STDLIB)/rt/$(PLATFORM)/stat.ha \ $(STDLIB)/rt/$(PLATFORM)/$(ARCH).ha \ $(STDLIB)/rt/$(PLATFORM)/syscallno$(ARCH).ha \ $(STDLIB)/rt/$(PLATFORM)/syscalls.ha \ $(STDLIB)/rt/$(PLATFORM)/types.ha \ + $(STDLIB)/rt/$(PLATFORM)/stat.ha \ $(STDLIB)/rt/$(ARCH)/jmp.ha \ $(STDLIB)/rt/ensure.ha \ $(STDLIB)/rt/jmp.ha \ @@ -533,11 +533,11 @@ testlib_rt_srcs= \ $(STDLIB)/rt/$(PLATFORM)/errno.ha \ $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \ $(STDLIB)/rt/$(PLATFORM)/start.ha \ - $(STDLIB)/rt/$(PLATFORM)/stat.ha \ $(STDLIB)/rt/$(PLATFORM)/$(ARCH).ha \ $(STDLIB)/rt/$(PLATFORM)/syscallno$(ARCH).ha \ $(STDLIB)/rt/$(PLATFORM)/syscalls.ha \ $(STDLIB)/rt/$(PLATFORM)/types.ha \ + $(STDLIB)/rt/$(PLATFORM)/stat.ha \ $(STDLIB)/rt/$(ARCH)/jmp.ha \ $(STDLIB)/rt/ensure.ha \ $(STDLIB)/rt/jmp.ha \ diff --git a/plan.ha b/plan.ha @@ -58,8 +58,7 @@ fn sched_ar(plan: *plan, output: str, depend: *task...) *task = { output = output, depend = mkdepends(depend...), cmd = alloc([ - os::tryenv("AR", "ar"), - "-csr", output, + os::tryenv("AR", "ar"), "-csr", output, ]), }); for (let i = 0z; i < len(depend); i += 1) {