Skip to content

Commit

Permalink
Revert "Update src/lib.rs"
Browse files Browse the repository at this point in the history
This reverts commit a69d8bb.
  • Loading branch information
phoepsilonix committed Jan 12, 2025
1 parent 60669a9 commit fe7e2ce
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe7e2ce

Please sign in to comment.