diff --git a/src/tool.rs b/src/tool.rs index af43a918..bfd2d177 100644 --- a/src/tool.rs +++ b/src/tool.rs @@ -428,10 +428,8 @@ impl Tool { /// Supports using `--` delimiter to separate arguments and path to source files. pub(crate) fn supports_path_delimiter(&self) -> bool { - matches!( - self.family, - ToolFamily::Clang { .. } | ToolFamily::Msvc { clang_cl: true } - ) && !self.cuda + // homebrew clang and zig-cc does not support this while stock version does + matches!(self.family, ToolFamily::Msvc { clang_cl: true }) && !self.cuda } } diff --git a/tests/test.rs b/tests/test.rs index 84d3e005..b88a8190 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -405,8 +405,6 @@ fn gnu_static() { } #[test] -// on macOS, cc/gcc is link to apple clang -#[cfg_attr(target_os = "macos", ignore)] fn gnu_no_dash_dash() { let test = Test::gnu(); test.gcc().file("foo.c").compile("foo");