fix flexilib build
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m43s

This commit is contained in:
Emil Lerch 2023-11-17 12:26:48 -08:00
parent e5a1099f74
commit 4c987d0959
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -9,7 +9,10 @@ const runFn = blk: {
switch (build_options.build_type) {
.awslambda => break :blk @import("lambda.zig").run,
.standalone_server => break :blk runStandaloneServerParent,
.flexilib => break :blk @import("flexilib.zig").run,
// 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
// in multiple modules" problem
.flexilib => break :blk @import("root").run,
.exe_run, .cloudflare => break :blk @import("console.zig").run,
}
};