| ... | ... | @@ -4198,7 +4198,10 @@ pub fn hasCppExt(filename: []const u8) bool { |
| 4198 | 4198 | return mem.endsWith(u8, filename, ".C") or |
| 4199 | 4199 | mem.endsWith(u8, filename, ".cc") or |
| 4200 | 4200 | mem.endsWith(u8, filename, ".cpp") or |
| 4201 | | mem.endsWith(u8, filename, ".cxx"); |
| 4201 | mem.endsWith(u8, filename, ".cxx") or |
| 4202 | mem.endsWith(u8, filename, ".cu") or |
| 4203 | // .stub files are compiled by nvcc when using `zig c++` as the host compiler. They contain C++ code. |
| 4204 | mem.endsWith(u8, filename, ".stub"); |
| 4202 | 4205 | } |
| 4203 | 4206 | |
| 4204 | 4207 | pub fn hasObjCExt(filename: []const u8) bool { |