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
+4
View File
@@ -590,6 +590,10 @@ const known_options = [_]KnownOpt{
.name = "dynamic",
.ident = "dynamic",
},
.{
.name = "version",
.ident = "version",
},
};
const blacklisted_options = [_][]const u8{};