commit d74e87aab1a59102643cc8c2b0a650cba71cccfc (tree)
parent 12a289c1dd3b171024f03b99bb26dab0323ff7b4
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 13 Dec 2024 04:57:53 +0100
Compilation: Use Clang dependency file for preprocessed assembly files.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Compilation.zig b/src/Compilation.zig
@@ -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,