Repository navigation
Conversation
Add support to call the binary with "zig-cc" and "zig-c++" names. This will trigger the same as calling with "zig cc" and "zig-c++".
|
See #8973 |
|
This PR implements the rejected proposal #8716. It's also immediately obvious that it would fail CI, but that's a moot point: this functionality is explicitly not something we want. |
|
Hi @jedisct1 ,
I've readed this several time ago. And this patch is not refusing anything discussed on this thread. Hi @mlugg ,
Why you say "It's also immediately obvious that it would fail CI"? You've reviewed the patch? This patch doesn't change anything! The current behaviour continues exactly as it's now. All CI checks will continue running without troubles. This patch only handles one special case: if the basename of the binary is |
CI would immediately fail due to this code not conforming to If you had included any kind of test coverage for this change, there would also have been a failure due to the unconditional calls to
That's very clearly not true. This patch changes how the
The problem is that this proposal is rejected; the Zig project does not want to include this functionality. Also, note that your code, while not buggy, contains several minor errors:
|
Add support to call the binary with "zig-cc" and "zig-c++" names. This will trigger the same as calling with "zig cc" and "zig-c++".