feat: add C & Zig bindings for socket
This commit is contained in:
parent
e19ff271d0
commit
d1cb42d53c
11 changed files with 209 additions and 13 deletions
|
|
@ -61,6 +61,7 @@ pub fn build(b: *std.Build) void {
|
|||
"src/c/timeout.cpp",
|
||||
"src/c/unx.cpp",
|
||||
"src/c/tcp.cpp",
|
||||
"src/c/socket.cpp",
|
||||
"src/c/trace.cpp",
|
||||
"src/cbor.cpp",
|
||||
"src/executor_asio.cpp",
|
||||
|
|
@ -126,6 +127,7 @@ pub fn build(b: *std.Build) void {
|
|||
"test/timeout_test.cpp",
|
||||
"test/unx_c_api.cpp",
|
||||
"test/tcp_c_api.cpp",
|
||||
"test/socket_c_api.cpp",
|
||||
}, .flags = &cppflags });
|
||||
tests.linkLibrary(lib);
|
||||
tests.linkLibrary(asio_dep.artifact("asio"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue