diff --git a/src/lib.rs b/src/lib.rs index 844641a6..280ff7bb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1800,13 +1800,7 @@ impl Build { cmd.args(self.asm_flags.iter().map(std::ops::Deref::deref)); } - if compiler.supports_path_delimiter() - && !is_assembler_msvc - && matches!( - compiler.family, - ToolFamily::Clang { zig_cc: false } | ToolFamily::Msvc { clang_cl: true } - ) - { + if compiler.supports_path_delimiter() && !is_assembler_msvc { // #513: For `clang-cl`, separate flags/options from the input file. // When cross-compiling macOS -> Windows, this avoids interpreting // common `/Users/...` paths as the `/U` flag and triggering