handle -x language flag without spaces
gcc and clang both handle this flag with and without a space so it seems reasonable to replicate that
tangentially related, would it be accepted to add zig to the list of accepted languages for this flag? not that i really have any kind of use case for it but i dont see why it shouldnt be included
tangentially related, would it be accepted to add zig to the list of accepted languages for this flag? not that i really have any kind of use case for it but i dont see why it shouldnt be included
I think the use of -x is mainly intended for compatibility with projects that use rare, non-standard file extensions in C/C++ land. Zig is a new language so we probably should just not encourage that from the outset.
yeah that's fair, I've wanted it in the past (albeit not for anything serious) for use with temporary files, e.g. =() in zsh, but it's probably better to not encourage anything out of the ordinary