Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Jan 12, 2025
1 parent 172da47 commit aced6f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ impl Tool {

/// Supports using `--` delimiter to separate arguments and path to source files.
pub(crate) fn supports_path_delimiter(&self) -> bool {
// homebrew clang and zig-cc does not support this while stock version does
matches!(self.family, ToolFamily::Msvc { clang_cl: true }) && !self.cuda
}
}
Expand Down

0 comments on commit aced6f6

Please sign in to comment.