authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-12-13 04:57:53+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-12-13 06:48:35+01:00
logd74e87aab1a59102643cc8c2b0a650cba71cccfc
tree34defbf1a51dc1859b353a98226e1443a716d5f0
parent12a289c1dd3b171024f03b99bb26dab0323ff7b4
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Compilation: Use Clang dependency file for preprocessed assembly files.


1 files changed, 1 insertions(+), 2 deletions(-)

src/Compilation.zig+1-2
...@@ -5891,12 +5891,11 @@ pub const FileExt = enum {...@@ -5891,12 +5891,11 @@ pub const FileExt = enum {
58915891
5892 pub fn clangSupportsDepFile(ext: FileExt) bool {5892 pub fn clangSupportsDepFile(ext: FileExt) bool {
5893 return switch (ext) {5893 return switch (ext) {
5894 .c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true,5894 .assembly_with_cpp, .c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true,
58955895
5896 .ll,5896 .ll,
5897 .bc,5897 .bc,
5898 .assembly,5898 .assembly,
5899 .assembly_with_cpp,
5900 .shared_library,5899 .shared_library,
5901 .object,5900 .object,
5902 .static_library,5901 .static_library,