From 7e1f1d360f45e50f021e7e144bb481873c527a10 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 9 Jan 2024 22:32:39 -0800 Subject: [PATCH] pkg/apple-sdk add comment --- pkg/apple-sdk/build.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/apple-sdk/build.zig b/pkg/apple-sdk/build.zig index 34a1e92ce..f52b62c36 100644 --- a/pkg/apple-sdk/build.zig +++ b/pkg/apple-sdk/build.zig @@ -7,6 +7,9 @@ pub fn build(b: *std.Build) !void { _ = optimize; } +/// Add the SDK framework, include, and library paths to the given module. +/// The module target is used to determine the SDK to use so it must have +/// a resolved target. pub fn addPaths(b: *std.Build, m: *std.Build.Module) !void { // The active SDK we want to use const sdk = try SDK.fromTarget(m.resolved_target.?.result);