| author | |
| committer | |
| log | 9e3ec98937de07d0e06f483ba8f7e6592b4dd152 |
| tree | 6a8cc8684ca6c26f419f5e4847212d1d71dde7a7 |
| parent | bb38931c7146678548f63ae9ef71e534c7598fe3 |
| signature |
Unfortunately, Valgrind for macOS has been broken for years,
and the Homebrew formula is only for Linux.
2 files changed, 2 insertions(+), 2 deletions(-)
src/stage1/target.cpp+1-1| ... | ... | @@ -919,7 +919,7 @@ bool target_has_valgrind_support(const ZigTarget *target) { |
| 919 | 919 | case ZigLLVM_UnknownArch: |
| 920 | 920 | zig_unreachable(); |
| 921 | 921 | case ZigLLVM_x86_64: |
| 922 | return (target->os == OsLinux || target_os_is_darwin(target->os) || target->os == OsSolaris || | |
| 922 | return (target->os == OsLinux || target->os == OsSolaris || | |
| 923 | 923 | (target->os == OsWindows && target->abi != ZigLLVM_MSVC)); |
| 924 | 924 | default: |
| 925 | 925 | return false; |
src/target.zig+1-1| ... | ... | @@ -163,7 +163,7 @@ pub fn isSingleThreaded(target: std.Target) bool { |
| 163 | 163 | pub fn hasValgrindSupport(target: std.Target) bool { |
| 164 | 164 | switch (target.cpu.arch) { |
| 165 | 165 | .x86_64 => { |
| 166 | return target.os.tag == .linux or target.isDarwin() or target.os.tag == .solaris or | |
| 166 | return target.os.tag == .linux or target.os.tag == .solaris or | |
| 167 | 167 | (target.os.tag == .windows and target.abi != .msvc); |
| 168 | 168 | }, |
| 169 | 169 | else => return false, |