Skip to content

Commit 5d5956d

Browse files
committed
Do not use -- for cuda
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
1 parent 2161803 commit 5d5956d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ impl Tool {
426426
matches!(
427427
self.family,
428428
ToolFamily::Clang { .. } | ToolFamily::Msvc { clang_cl: true }
429-
)
429+
) && !self.cuda
430430
}
431431
}
432432

0 commit comments

Comments
 (0)