aboutsummaryrefslogtreecommitdiff
path: root/src/target.zig
diff options
context:
space:
mode:
authorFrank Denis <124872+jedisct1@users.noreply.github.com>2021-08-24 02:06:02 +0200
committerGitHub <noreply@github.com>2021-08-23 20:06:02 -0400
commit9e3ec98937de07d0e06f483ba8f7e6592b4dd152 (patch)
tree6a8cc8684ca6c26f419f5e4847212d1d71dde7a7 /src/target.zig
parentbb38931c7146678548f63ae9ef71e534c7598fe3 (diff)
downloadzig-9e3ec98937de07d0e06f483ba8f7e6592b4dd152.tar.gz
zig-9e3ec98937de07d0e06f483ba8f7e6592b4dd152.zip
Don't define valgrind_support on macOS (#9612)
Unfortunately, Valgrind for macOS has been broken for years, and the Homebrew formula is only for Linux.
Diffstat (limited to 'src/target.zig')
-rw-r--r--src/target.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target.zig b/src/target.zig
index 06483d68ff..25a133f03b 100644
--- a/src/target.zig
+++ b/src/target.zig
@@ -163,7 +163,7 @@ pub fn isSingleThreaded(target: std.Target) bool {
pub fn hasValgrindSupport(target: std.Target) bool {
switch (target.cpu.arch) {
.x86_64 => {
- return target.os.tag == .linux or target.isDarwin() or target.os.tag == .solaris or
+ return target.os.tag == .linux or target.os.tag == .solaris or
(target.os.tag == .windows and target.abi != .msvc);
},
else => return false,