zig
zig copied to clipboard
Implement `@typeId`
trafficstars
Implementation for #19858 if approved. Uses the InternPool.Index, but can be modified to not expose the InternPool.Index via a AutoArrayHashMapUnmanaged(InternPool.Index, void) for example.
OK noted. I will prioritize that proposal since you opened this PR.
With the ongoing parallelization of the compiler it would be nice if there was some test that the ID remains stable across compilations to avoid nondeterministic builds.