| ... | ... | @@ -3,7 +3,6 @@ const builtin = @import("builtin"); |
| 3 | 3 | const Target = std.Target; |
| 4 | 4 | const fs = std.fs; |
| 5 | 5 | const Allocator = std.mem.Allocator; |
| 6 | | const build_options = @import("build_options"); |
| 7 | 6 | |
| 8 | 7 | const is_darwin = builtin.target.isDarwin(); |
| 9 | 8 | const is_windows = builtin.target.os.tag == .windows; |
| ... | ... | @@ -184,9 +183,6 @@ pub const LibCInstallation = struct { |
| 184 | 183 | if (is_darwin) { |
| 185 | 184 | @panic("Darwin is handled separately via std.zig.system.darwin module"); |
| 186 | 185 | } else if (is_windows) { |
| 187 | | if (!build_options.have_llvm) |
| 188 | | return error.WindowsSdkNotFound; |
| 189 | | |
| 190 | 186 | var sdk: ZigWindowsSDK = ZigWindowsSDK.find(args.allocator) catch |err| switch (err) { |
| 191 | 187 | error.NotFound => return error.WindowsSdkNotFound, |
| 192 | 188 | error.PathTooLong => return error.WindowsSdkNotFound, |