zig
zig copied to clipboard
std.Build: detect and disallow top-level step name clashes
Closes #14822.
This PR implements the simple solution I mentioned in the linked issue by using a hashmap to detect when an attempt is made to add a top-level step with the same name as a pre-existing one. When this happens the build runner panics, with a message saying which step name caused a collision.