hare

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

commit 2cd13841e985749538e0e397f5953a68b9a100aa
parent 5de022280f36d5955607e2f3337d2aa29745e047
Author: Sebastian <sebastian@sebsite.pw>
Date:   Wed, 13 Apr 2022 21:19:30 -0400

gen-stdlib: add datetime dependency for log

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mscripts/gen-stdlib | 2+-
Mstdlib.mk | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib @@ -830,7 +830,7 @@ linux_vdso() { log() { gen_srcs log logger.ha global.ha funcs.ha - gen_ssa log fmt io os + gen_ssa log datetime fmt io os } gensrcs_math() { diff --git a/stdlib.mk b/stdlib.mk @@ -1395,7 +1395,7 @@ stdlib_log_any_srcs= \ $(STDLIB)/log/global.ha \ $(STDLIB)/log/funcs.ha -$(HARECACHE)/log/log-any.ssa: $(stdlib_log_any_srcs) $(stdlib_rt) $(stdlib_fmt_$(PLATFORM)) $(stdlib_io_$(PLATFORM)) $(stdlib_os_$(PLATFORM)) +$(HARECACHE)/log/log-any.ssa: $(stdlib_log_any_srcs) $(stdlib_rt) $(stdlib_datetime_$(PLATFORM)) $(stdlib_fmt_$(PLATFORM)) $(stdlib_io_$(PLATFORM)) $(stdlib_os_$(PLATFORM)) @printf 'HAREC \t$@\n' @mkdir -p $(HARECACHE)/log @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nlog \ @@ -3401,7 +3401,7 @@ testlib_log_any_srcs= \ $(STDLIB)/log/global.ha \ $(STDLIB)/log/funcs.ha -$(TESTCACHE)/log/log-any.ssa: $(testlib_log_any_srcs) $(testlib_rt) $(testlib_fmt_$(PLATFORM)) $(testlib_io_$(PLATFORM)) $(testlib_os_$(PLATFORM)) +$(TESTCACHE)/log/log-any.ssa: $(testlib_log_any_srcs) $(testlib_rt) $(testlib_datetime_$(PLATFORM)) $(testlib_fmt_$(PLATFORM)) $(testlib_io_$(PLATFORM)) $(testlib_os_$(PLATFORM)) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/log @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nlog \