Skip to content

Commit a69d8bb

Browse files
Update src/lib.rs
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
1 parent 2e74353 commit a69d8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ impl Build {
18021802

18031803
if compiler.supports_path_delimiter()
18041804
&& !is_assembler_msvc
1805-
&& matches!(compiler.family, ToolFamily::Clang { zig_cc: false })
1805+
&& matches!(compiler.family, ToolFamily::Clang { zig_cc: false } | ToolFamilt::Msvc { clang_cl: true })
18061806
{
18071807
// #513: For `clang-cl`, separate flags/options from the input file.
18081808
// When cross-compiling macOS -> Windows, this avoids interpreting

0 commit comments

Comments
 (0)