commit 90a6bb9010dfbae19751e2d11ef56efc743c9268
parent 9d3d27ab0c951716d17ec7fcf1e2ec7d5c888de9
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 19 Oct 2021 14:00:45 +0200
iobus: fix net:: import
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
4 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/iobus/io_uring/ops.ha b/iobus/io_uring/ops.ha
@@ -1,7 +1,6 @@
use io;
use linux::io_uring;
use net::ip;
-use net::unix;
use rt;
// TODO: Seek to de-duplicate some of the SQE prep code
diff --git a/iobus/io_uring/types.ha b/iobus/io_uring/types.ha
@@ -1,8 +1,6 @@
use errors;
use io;
use linux::io_uring;
-use net::ip;
-use net::unix;
use rt;
// All errors which may be raised by iobus.
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -578,7 +578,7 @@ iobus_io_uring() {
handle.ha \
types.ha \
ops.ha
- gen_ssa iobus::io_uring errors io linux::io_uring
+ gen_ssa iobus::io_uring errors io linux::io_uring net::ip
}
linux() {
diff --git a/stdlib.mk b/stdlib.mk
@@ -848,7 +848,7 @@ stdlib_iobus_io_uring_srcs= \
$(STDLIB)/iobus/io_uring/types.ha \
$(STDLIB)/iobus/io_uring/ops.ha
-$(HARECACHE)/iobus/io_uring/iobus_io_uring.ssa: $(stdlib_iobus_io_uring_srcs) $(stdlib_rt) $(stdlib_errors) $(stdlib_io) $(stdlib_linux_io_uring)
+$(HARECACHE)/iobus/io_uring/iobus_io_uring.ssa: $(stdlib_iobus_io_uring_srcs) $(stdlib_rt) $(stdlib_errors) $(stdlib_io) $(stdlib_linux_io_uring) $(stdlib_net_ip)
@printf 'HAREC \t$@\n'
@mkdir -p $(HARECACHE)/iobus/io_uring
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Niobus::io_uring \
@@ -2122,7 +2122,7 @@ testlib_iobus_io_uring_srcs= \
$(STDLIB)/iobus/io_uring/types.ha \
$(STDLIB)/iobus/io_uring/ops.ha
-$(TESTCACHE)/iobus/io_uring/iobus_io_uring.ssa: $(testlib_iobus_io_uring_srcs) $(testlib_rt) $(testlib_errors) $(testlib_io) $(testlib_linux_io_uring)
+$(TESTCACHE)/iobus/io_uring/iobus_io_uring.ssa: $(testlib_iobus_io_uring_srcs) $(testlib_rt) $(testlib_errors) $(testlib_io) $(testlib_linux_io_uring) $(testlib_net_ip)
@printf 'HAREC \t$@\n'
@mkdir -p $(TESTCACHE)/iobus/io_uring
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Niobus::io_uring \