We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 162de1b commit adcfa30Copy full SHA for adcfa30
src/lib.rs
@@ -1800,7 +1800,10 @@ impl Build {
1800
cmd.args(self.asm_flags.iter().map(std::ops::Deref::deref));
1801
}
1802
1803
- if compiler.supports_path_delimiter() && !is_assembler_msvc {
+ if compiler.supports_path_delimiter()
1804
+ && !is_assembler_msvc
1805
+ && matches!(compiler.family, ToolFamily::Clang { zig_cc: false })
1806
+ {
1807
// #513: For `clang-cl`, separate flags/options from the input file.
1808
// When cross-compiling macOS -> Windows, this avoids interpreting
1809
// common `/Users/...` paths as the `/U` flag and triggering
0 commit comments