Skip to content

Commit e322dc4

Browse files
committed
main: fix missing type annotation
1 parent a68a6d7 commit e322dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3995,7 +3995,7 @@ pub fn cmdLibC(gpa: Allocator, args: []const []const u8) !void {
39953995
fatal("unable to detect libc for non-native target", .{});
39963996
}
39973997

3998-
var darwin_sdk = if ((comptime builtin.target.isDarwin()) and
3998+
var darwin_sdk: ?std.zig.system.darwin.DarwinSDK = if ((comptime builtin.target.isDarwin()) and
39993999
!std.zig.system.NativePaths.isNix() and
40004000
std.zig.system.darwin.isDarwinSDKInstalled(gpa))
40014001
std.zig.system.darwin.getDarwinSDK(gpa, builtin.target)

0 commit comments

Comments
 (0)