diff --git a/src/awslambda.zig b/src/awslambda.zig new file mode 100644 index 0000000..0f666cc --- /dev/null +++ b/src/awslambda.zig @@ -0,0 +1,6 @@ +const std = @import("std"); +const lambda_zig = @import("lambda-zig"); + +pub fn run() !void { + lambda_zig.run(); +} diff --git a/src/universal_lambda.zig b/src/universal_lambda.zig index 3f35c47..85316e3 100644 --- a/src/universal_lambda.zig +++ b/src/universal_lambda.zig @@ -7,7 +7,7 @@ const log = std.log.scoped(.universal_lambda); const runFn = blk: { switch (build_options.build_type) { - .awslambda => break :blk @import("lambda.zig").run, + .awslambda => break :blk @import("awslambda.zig").run, .standalone_server => break :blk runStandaloneServerParent, // In the case of flexilib, our root module is actually flexilib.zig // so we need to import that, otherwise we risk the dreaded "file exists