commit 9ddc17e36545a01d9eadff121104322f2595a1f3
parent 2dd08b27c5a47b1d5c6a77da65a50d374824bffc
Author: Byron Torres <b@torresjrjr.com>
Date: Thu, 13 Jan 2022 02:48:22 +0000
add time/chrono/leapsec.ha
Signed-off-by: Byron Torres <b@torresjrjr.com>
Diffstat:
3 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -1178,6 +1178,7 @@ time() {
time_chrono() {
gen_srcs time::chrono \
chronology.ha \
+ leapsec.ha \
timescale.ha \
timezone.ha
gen_ssa time::chrono time
diff --git a/stdlib.mk b/stdlib.mk
@@ -1797,6 +1797,7 @@ $(HARECACHE)/time/time-freebsd.ssa: $(stdlib_time_freebsd_srcs) $(stdlib_rt)
# time::chrono (+any)
stdlib_time_chrono_any_srcs= \
$(STDLIB)/time/chrono/chronology.ha \
+ $(STDLIB)/time/chrono/leapsec.ha \
$(STDLIB)/time/chrono/timescale.ha \
$(STDLIB)/time/chrono/timezone.ha
@@ -3805,6 +3806,7 @@ $(TESTCACHE)/time/time-freebsd.ssa: $(testlib_time_freebsd_srcs) $(testlib_rt)
# time::chrono (+any)
testlib_time_chrono_any_srcs= \
$(STDLIB)/time/chrono/chronology.ha \
+ $(STDLIB)/time/chrono/leapsec.ha \
$(STDLIB)/time/chrono/timescale.ha \
$(STDLIB)/time/chrono/timezone.ha
diff --git a/time/chrono/leapsec.ha b/time/chrono/leapsec.ha
@@ -0,0 +1 @@
+use time;