CLI: use zon format for clang options

- plain old data ftw
- 177K -> 151K
- data bypasses Sema

This change is not really important but it was nice to explore best
practices for data like this.

When I measured building the compiler, I found no statistically
significant difference in compilation time.
This commit is contained in:
Andrew Kelley
2026-03-19 17:25:40 -07:00
parent 982f26bcdd
commit 06b85a4fd0
7 changed files with 5269 additions and 8978 deletions
-2
View File
@@ -348,8 +348,6 @@ set(ZIG_STAGE2_SOURCES
src/Value.zig
src/Zcu.zig
src/Zcu/PerThread.zig
src/clang_options.zig
src/clang_options_data.zig
src/codegen.zig
src/codegen/aarch64.zig
src/codegen/aarch64/abi.zig