feat: drop use std.net instead of zig-network

This commit is contained in:
2023-12-14 21:56:15 -06:00
parent e5c1d4d2b7
commit 93cd6b1c5b
6 changed files with 140 additions and 61 deletions

View File

@@ -15,11 +15,9 @@ pub fn build(b: *std.Build) void {
// set a preferred release mode, allowing the user to decide how to optimize.
const optimize = b.standardOptimizeOption(.{});
const zig_network = b.dependency("zig-network", .{}); // https://github.com/MasterQ32/zig-network
_ = b.addModule("gdbstub", .{
.source_file = .{ .path = "src/lib.zig" },
.dependencies = &.{.{ .name = "network", .module = zig_network.module("network") }},
.dependencies = &.{},
});
// Creates a step for unit testing. This only builds the test executable