commit cda83b76ca59bbecf32e6407e18dd44aebce9a97
parent 5a2da41cd5441d6d5f41ed8a42e67a8af05f72f1
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 7 Feb 2021 11:45:48 -0500
Update stdlib
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gen-stdlib b/gen-stdlib
@@ -96,6 +96,7 @@ ascii() {
bytes() {
printf '# bytes\n'
gen_srcs bytes \
+ contains.ha \
copy.ha \
equal.ha \
index.ha \
@@ -197,6 +198,7 @@ strconv() {
strings() {
printf '# strings\n'
gen_srcs strings \
+ contains.ha \
cstrings.ha \
dup.ha \
iter.ha \
diff --git a/mk/stdlib.mk b/mk/stdlib.mk
@@ -98,6 +98,7 @@ $(HARECACHE)/ascii/ascii.ssa: $(stdlib_ascii_srcs) $(stdlib_rt)
# bytes
stdlib_bytes_srcs= \
+ $(STDLIB)/bytes/contains.ha \
$(STDLIB)/bytes/copy.ha \
$(STDLIB)/bytes/equal.ha \
$(STDLIB)/bytes/index.ha \
@@ -181,6 +182,7 @@ $(HARECACHE)/strconv/strconv.ssa: $(stdlib_strconv_srcs) $(stdlib_rt) $(stdlib_t
# strings
stdlib_strings_srcs= \
+ $(STDLIB)/strings/contains.ha \
$(STDLIB)/strings/cstrings.ha \
$(STDLIB)/strings/dup.ha \
$(STDLIB)/strings/iter.ha \
@@ -305,6 +307,7 @@ $(TESTCACHE)/ascii/ascii.ssa: $(testlib_ascii_srcs) $(testlib_rt)
# bytes
testlib_bytes_srcs= \
+ $(STDLIB)/bytes/contains.ha \
$(STDLIB)/bytes/copy.ha \
$(STDLIB)/bytes/equal.ha \
$(STDLIB)/bytes/index.ha \
@@ -393,6 +396,7 @@ $(TESTCACHE)/strconv/strconv.ssa: $(testlib_strconv_srcs) $(testlib_rt) $(testli
# strings
testlib_strings_srcs= \
+ $(STDLIB)/strings/contains.ha \
$(STDLIB)/strings/cstrings.ha \
$(STDLIB)/strings/dup.ha \
$(STDLIB)/strings/iter.ha \