zig icon indicating copy to clipboard operation
zig copied to clipboard

Implement `@typeId`

Open SuperAuguste opened this issue 1 year ago • 2 comments
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.

SuperAuguste avatar May 04 '24 20:05 SuperAuguste

OK noted. I will prioritize that proposal since you opened this PR.

andrewrk avatar Jul 21 '24 09:07 andrewrk

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.

Snektron avatar Jul 21 '24 12:07 Snektron