add explicit smithy dependency of aws module
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m51s
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m51s
This commit is contained in:
parent
eb91d40edf
commit
090c06c403
|
@ -42,10 +42,14 @@ pub fn build(b: *Builder) !void {
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
exe.addModule("smithy", smithy_dep.module("smithy"));
|
const smithy_module = smithy_dep.module("smithy");
|
||||||
|
exe.addModule("smithy", smithy_module); // not sure this should be here...
|
||||||
|
|
||||||
const module = b.addModule("aws", .{
|
const module = b.addModule("aws", .{
|
||||||
.source_file = .{ .path = "src/aws.zig" },
|
.source_file = .{ .path = "src/aws.zig" },
|
||||||
|
.dependencies = &[_]std.build.ModuleDependency{
|
||||||
|
.{ .name = "smithy", .module = smithy_module },
|
||||||
|
},
|
||||||
});
|
});
|
||||||
exe.addModule("aws", module);
|
exe.addModule("aws", module);
|
||||||
// TODO: This does not work correctly due to https://github.com/ziglang/zig/issues/16354
|
// TODO: This does not work correctly due to https://github.com/ziglang/zig/issues/16354
|
||||||
|
|
Loading…
Reference in New Issue
Block a user