| ... | ... | @@ -3792,7 +3792,10 @@ pub fn hasCppExt(filename: []const u8) bool { |
| 3792 | 3792 | return mem.endsWith(u8, filename, ".C") or |
| 3793 | 3793 | mem.endsWith(u8, filename, ".cc") or |
| 3794 | 3794 | mem.endsWith(u8, filename, ".cpp") or |
| 3795 | | mem.endsWith(u8, filename, ".cxx"); |
| 3795 | mem.endsWith(u8, filename, ".cxx") or |
| 3796 | mem.endsWith(u8, filename, ".cu") or |
| 3797 | // .stub files are compiled by nvcc when using `zig c++` as the host compiler. They contain C++ code. |
| 3798 | mem.endsWith(u8, filename, ".stub"); |
| 3796 | 3799 | } |
| 3797 | 3800 | |
| 3798 | 3801 | pub fn hasObjCExt(filename: []const u8) bool { |