summaryrefslogtreecommitdiff
path: root/src/abi_hash.zig
Commit message (Collapse)AuthorAge
* Compute abi.hash's layout half once per abi change, not in every compileGabriel Schneider3 hours
The comptime walk over the shared types cost about half a second of every sketch library's compile. abi_hash.zig runs it at build time, once per change of the abi sources (watched like any input), and build.zig hands the number to host and sketches as the module abi_hash; abi.hash folds in the build as before. The value is the walk's own, computed for the build machine in Debug.