Skip to content

Commit

Permalink
fix references, allocations and frees
Browse files Browse the repository at this point in the history
Signed-off-by: inge4pres <[email protected]>
  • Loading branch information
inge4pres committed Sep 24, 2024
1 parent 3744e7b commit 84f9d2b
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 187 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ pub fn build(b: *std.Build) void {

// Creates a step for unit testing. This only builds the test executable
// but does not run it.
const test_filters = b.option([]const []const u8, "test-filter", "Skip tests that do not match any filter") orelse &[0][]const u8{};
const sdk_unit_tests = b.addTest(.{
.root_source_file = b.path("src/sdk.zig"),
.target = target,
.optimize = optimize,
.filters = test_filters,
});
sdk_unit_tests.root_module.addImport("protobuf", protobuf_dep.module("protobuf"));

Expand Down
Loading

0 comments on commit 84f9d2b

Please sign in to comment.