Skip to content

Commit

Permalink
io: add xev socket backend, defaulting to per-thread
Browse files Browse the repository at this point in the history
  • Loading branch information
kprotty committed Jan 27, 2025
1 parent 6439255 commit fe78c73
Show file tree
Hide file tree
Showing 2 changed files with 399 additions and 64 deletions.
4 changes: 4 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ pub fn build(b: *Build) void {
sig_exe.linkLibC();
sig_exe.root_module.addOptions("build-options", build_options);

sig_exe.root_module.addImport("xev", xev_mod);
sig_exe.root_module.addImport("base58-zig", base58_module);
sig_exe.root_module.addImport("httpz", httpz_mod);
sig_exe.root_module.addImport("zig-cli", zig_cli_module);
Expand Down Expand Up @@ -143,6 +144,7 @@ pub fn build(b: *Build) void {
unit_tests_exe.linkLibC();
unit_tests_exe.root_module.addOptions("build-options", build_options);

unit_tests_exe.root_module.addImport("xev", xev_mod);
unit_tests_exe.root_module.addImport("base58-zig", base58_module);
unit_tests_exe.root_module.addImport("httpz", httpz_mod);
unit_tests_exe.root_module.addImport("zig-network", zig_network_module);
Expand Down Expand Up @@ -177,6 +179,7 @@ pub fn build(b: *Build) void {
fuzz_exe.linkLibC();
fuzz_exe.root_module.addOptions("build-options", build_options);

fuzz_exe.root_module.addImport("xev", xev_mod);
fuzz_exe.root_module.addImport("base58-zig", base58_module);
fuzz_exe.root_module.addImport("zig-network", zig_network_module);
fuzz_exe.root_module.addImport("httpz", httpz_mod);
Expand Down Expand Up @@ -212,6 +215,7 @@ pub fn build(b: *Build) void {
benchmark_exe.linkLibC();
benchmark_exe.root_module.addOptions("build-options", build_options);

benchmark_exe.root_module.addImport("xev", xev_mod);
benchmark_exe.root_module.addImport("base58-zig", base58_module);
benchmark_exe.root_module.addImport("zig-network", zig_network_module);
benchmark_exe.root_module.addImport("httpz", httpz_mod);
Expand Down
Loading

0 comments on commit fe78c73

Please sign in to comment.