From fe7e2ce9c33787fb6762d557c623643bb72efadd Mon Sep 17 00:00:00 2001 From: Masato TOYOSHIMA Date: Sun, 12 Jan 2025 14:33:00 +0900 Subject: [PATCH] Revert "Update src/lib.rs" This reverts commit a69d8bbd51417941cd92df68fb62ead8c213d1a9. --- src/lib.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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