Skip to content

Commit 9c74a31

Browse files
committed
Initial Eio port
This switches capnp-rpc from Lwt to Eio. One particularly nice side effect of this is that `Service.return_lwt` has gone, as there is no distinction now between concurrent and non-concurrent service methods. Notes: - In this commit, everything is still using the "lwt" names to make the diff useful. In a future commit, this should be renamed. Also, some of the "unix" functions can be moved into the core library with Eio. This would likely be a good time to rename `capnp_rpc` to `capnp_rpc_protocol` or something, leaving the short name free for the main library. - Mirage support is gone. Ideally, the regular library should work with Mirage 5.
1 parent 8a0b6dc commit 9c74a31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1719
-2171
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
default: test build-fuzz
44

55
all:
6-
dune build @install test/test.exe test-lwt/test_lwt.exe test-bin/calc.exe test-mirage/test_mirage.exe
6+
dune build @install test/test.exe test-lwt/test_lwt.exe test-bin/calc.exe
77
rm -rf _build/_tests
88
dune runtest --no-buffer -j 1
99

@@ -19,7 +19,7 @@ clean:
1919

2020
test:
2121
rm -rf _build/_tests
22-
dune build test/test.exe test-lwt/test_lwt.exe test-bin/calc.exe test-mirage/test_mirage.exe test-bin/echo/echo_bench.exe @install
22+
dune build test/test.exe test-lwt/test_lwt.exe test-bin/calc.exe test-bin/echo/echo_bench.exe @install
2323
#./_build/default/test/test.bc test core -ev 36
2424
#./_build/default/test-lwt/test.bc test lwt -ev 3
2525
dune build @runtest --no-buffer -j 1

0 commit comments

Comments
 (0)