Compilation: Use Clang dependency file for preprocessed assembly files.

This commit is contained in:
Alex Rønne Petersen 2024-12-13 04:57:53 +01:00
parent 12a289c1dd
commit d74e87aab1
No known key found for this signature in database

View File

@ -5891,12 +5891,11 @@ pub const FileExt = enum {
pub fn clangSupportsDepFile(ext: FileExt) bool {
return switch (ext) {
.c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true,
.assembly_with_cpp, .c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true,
.ll,
.bc,
.assembly,
.assembly_with_cpp,
.shared_library,
.object,
.static_library,