| author | |
| committer | |
| log | 879a39a700dda5bbd720b940d9a26f202098f7c2 |
| tree | 3caf43734c49df971eac104d1554c4b249843dd7 |
| parent | c76a98f28a2623d0622b373f3b6d9aa23c3da54a |
| signature |
Matches isLibCxxLibName() behavior.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Target.zig+1-1| ... | ... | @@ -2869,7 +2869,7 @@ pub fn cTypePreferredAlignment(target: Target, c_type: CType) u16 { |
| 2869 | 2869 | } |
| 2870 | 2870 | |
| 2871 | 2871 | pub fn isLibCLibName(target: std.Target, name: []const u8) bool { |
| 2872 | const ignore_case = target.os.tag == .macos or target.os.tag == .windows; | |
| 2872 | const ignore_case = target.os.tag.isDarwin() or target.os.tag == .windows; | |
| 2873 | 2873 | |
| 2874 | 2874 | if (eqlIgnoreCase(ignore_case, name, "c")) |
| 2875 | 2875 | return true; |