We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c5b18 commit 0307af6Copy full SHA for 0307af6
build.zig
@@ -39,11 +39,11 @@ pub fn build(b: *Build) void {
39
}),
40
});
41
selftest.root_module.addCMacro("MBEDTLS_SELF_TEST", "");
42
- selftest.addCSourceFile(.{
+ selftest.root_module.addCSourceFile(.{
43
.file = mbedtls_dep.path("programs/test/selftest.c"),
44
.flags = &.{},
45
46
- selftest.linkLibrary(mbedtls);
+ selftest.root_module.linkLibrary(mbedtls);
47
b.getInstallStep().dependOn(&selftest.step);
48
49
const selftest_run = b.addRunArtifact(selftest);
0 commit comments