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 3b5c7b0 commit fa288c2Copy full SHA for fa288c2
build.zig
@@ -549,7 +549,12 @@ fn buildMbedtls(b: *Build, m: *Build.Module) !void {
549
mbedtls.addIncludePath(b.path(root ++ "include"));
550
mbedtls.addIncludePath(b.path(root ++ "library"));
551
552
- mbedtls.addCSourceFiles(.{ .flags = &.{"-Wno-nullability-completeness"}, .files = &.{
+ const flags: []const []const u8 = if (m.resolved_target.?.result.os.tag == .ios)
553
+ &.{"-Wno-nullability-completeness"}
554
+ else
555
+ &.{};
556
+
557
+ mbedtls.addCSourceFiles(.{ .flags = flags, .files = &.{
558
root ++ "library/aes.c",
559
root ++ "library/aesni.c",
560
root ++ "library/aesce.c",
0 commit comments