zig icon indicating copy to clipboard operation
zig copied to clipboard

std.Build: detect and disallow top-level step name clashes

Open dweiller opened this issue 1 year ago • 0 comments

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.

dweiller avatar Mar 10 '23 13:03 dweiller