We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
is_like_clang_cl()
1 parent 5e17879 commit 29a92bdCopy full SHA for 29a92bd
src/tool.rs
@@ -421,6 +421,11 @@ impl Tool {
421
matches!(self.family, ToolFamily::Msvc { .. })
422
}
423
424
+ /// Whether the tool is `clang-cl`-based MSVC-like.
425
+ pub fn is_like_clang_cl(&self) -> bool {
426
+ matches!(self.family, ToolFamily::Msvc { clang_cl: true })
427
+ }
428
+
429
/// Supports using `--` delimiter to separate arguments and path to source files.
430
pub(crate) fn supports_path_delimiter(&self) -> bool {
431
matches!(
0 commit comments