Always accept .o and .obj files (#20609)

This commit is contained in:
Denis Feklushkin 2025-01-08 13:05:32 +07:00 committed by GitHub
parent 9b94878c85
commit 439e068588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
Object file extensions `.o` and `.obj` are now accepted on all platforms
Accepting .o and .obj file extensions on all platforms makes DMD behave
the same as Clang and other modern compilers. There is no point in
discarding *.o or *.obj depending on the current OS, as both extensions
indicate that this is an object file.