feat: Counter over glowcap's byte-fed Host, one request/response per round
An in-memory client and canister-shaped server exchange CapTP frames in Syrup byte-string envelopes, as update calls will carry them. Generated-by: Claude Code (claude-opus-5-5)
This commit is contained in:
commit
6348422012
8 files changed
+272
No files matched your search
@@ -0,0 +1,17 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn build(b: *std.Build) void {
|
||||
const target = b.standardTargetOptions(.{});
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
|
||||
const glowcap = b.dependency("glowcap", .{ .target = target, .optimize = optimize });
|
||||
|
||||
const pair_test = b.addTest(.{ .root_module = b.createModule(.{
|
||||
.root_source_file = b.path("src/pair_test.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.imports = &.{.{ .name = "glowcap", .module = glowcap.module("glowcap") }},
|
||||
}) });
|
||||
const test_step = b.step("test", "Run the in-memory client/canister round trip");
|
||||
test_step.dependOn(&b.addRunArtifact(pair_test).step);
|
||||
}
|
||||
Reference in new issue
Block a user