zig cc: make --version use the full clang CLI lowering code path

because clang wants to parse the -target argument with clang -target
syntax.

closes #30178
This commit is contained in:
Andrew Kelley
2026-03-25 18:29:19 -07:00
parent 54b3484256
commit abd131e336
5 changed files with 47 additions and 15 deletions
+1
View File
@@ -1121,6 +1121,7 @@ pub const ClangCliParam = struct {
rtlib,
static,
dynamic,
version,
};
pub fn matchEql(self: @This(), arg: []const u8) u2 {