commit 7ed3b806920b887058bba943e4609cf510a6fe48
parent 4e867f6f0f40b22229532ce1015c8d5d18033ebb
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 2 Aug 2021 16:04:31 +0200
gen-stdlib: fix up missing types dependencies
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -344,7 +344,7 @@ fs_mem() {
else
gensrcs_fs_mem +test.ha
fi
- gen_ssa fs::mem bufio errors fs hash hash::fnv io path strconv strings
+ gen_ssa fs::mem bufio errors fs hash hash::fnv io path strconv strings types
}
getopt() {
@@ -551,7 +551,7 @@ math() {
printf '# math\n'
gen_srcs math \
floats.ha
- gen_ssa math
+ gen_ssa math types
}
net() {
diff --git a/stdlib.mk b/stdlib.mk
@@ -618,7 +618,7 @@ stdlib_fs_mem_srcs= \
$(STDLIB)/fs/mem/stream.ha \
$(STDLIB)/fs/mem/util.ha
-$(HARECACHE)/fs/mem/fs_mem.ssa: $(stdlib_fs_mem_srcs) $(stdlib_rt) $(stdlib_bufio) $(stdlib_errors) $(stdlib_fs) $(stdlib_hash) $(stdlib_hash_fnv) $(stdlib_io) $(stdlib_path) $(stdlib_strconv) $(stdlib_strings)
+$(HARECACHE)/fs/mem/fs_mem.ssa: $(stdlib_fs_mem_srcs) $(stdlib_rt) $(stdlib_bufio) $(stdlib_errors) $(stdlib_fs) $(stdlib_hash) $(stdlib_hash_fnv) $(stdlib_io) $(stdlib_path) $(stdlib_strconv) $(stdlib_strings) $(stdlib_types)
@printf 'HAREC \t$@\n'
@mkdir -p $(HARECACHE)/fs/mem
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nfs::mem \
@@ -1824,7 +1824,7 @@ testlib_fs_mem_srcs= \
$(STDLIB)/fs/mem/util.ha \
$(STDLIB)/fs/mem/+test.ha
-$(TESTCACHE)/fs/mem/fs_mem.ssa: $(testlib_fs_mem_srcs) $(testlib_rt) $(testlib_bufio) $(testlib_errors) $(testlib_fs) $(testlib_hash) $(testlib_hash_fnv) $(testlib_io) $(testlib_path) $(testlib_strconv) $(testlib_strings)
+$(TESTCACHE)/fs/mem/fs_mem.ssa: $(testlib_fs_mem_srcs) $(testlib_rt) $(testlib_bufio) $(testlib_errors) $(testlib_fs) $(testlib_hash) $(testlib_hash_fnv) $(testlib_io) $(testlib_path) $(testlib_strconv) $(testlib_strings) $(testlib_types)
@printf 'HAREC \t$@\n'
@mkdir -p $(TESTCACHE)/fs/mem
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nfs::mem \