mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 11:27:09 +03:00
d28c5069b8
The main goal here is to make incremental compilation work a bit better. I also slightly expanded some `std.zig.llvm.Builder` APIs so that we don't need to pointlessly create new `Global`s whenever e.g. a function turns into a variable or vice versa. Also, lean into aliases for exports! If we just use aliases for every export, everything becomes simpler. Besides, we can't just go around renaming the globals of `Nav`s: the export could disappear on a future update, in which case we'd have to somehow revert that change, which is easier said than done.