cc-wrapper-test: do not test sanitizers on darwin
This commit is contained in:
parent
57ff6191af
commit
8643dbc57e
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
# Sanitizers are not supported on Darwin.
|
# Sanitizers are not supported on Darwin.
|
||||||
# Sanitizer headers aren't available in older libc++ stdenvs due to a bug
|
# Sanitizer headers aren't available in older libc++ stdenvs due to a bug
|
||||||
sanitizersWorking = !stdenv.hostPlatform.isMusl && (
|
sanitizersWorking = !stdenv.isDarwin && !stdenv.hostPlatform.isMusl && (
|
||||||
(stdenv.cc.isClang && lib.versionAtLeast (lib.getVersion stdenv.cc.name) "5.0.0")
|
(stdenv.cc.isClang && lib.versionAtLeast (lib.getVersion stdenv.cc.name) "5.0.0")
|
||||||
|| (stdenv.cc.isGNU && stdenv.isLinux)
|
|| (stdenv.cc.isGNU && stdenv.isLinux)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue