From 3ed98751bc414e005af6ad185feb213d4366c0db Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 23 Aug 2024 11:09:22 -0700 Subject: [PATCH] add AwsProtocol, allowing usage within a build.zig import --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.zig b/build.zig index 7b4cd3d..d0af423 100644 --- a/build.zig +++ b/build.zig @@ -50,3 +50,7 @@ pub fn build(b: *std.Build) void { const test_step = b.step("test", "Run library tests"); test_step.dependOn(&run_main_tests.step); } + +// define AwsProtocol to support usage within build.zig as an import +const smithy = @import("src/smithy.zig"); +pub const AwsProtocol = smithy.AwsProtocol;