Files
rust/compiler
bors d6f88291f3 Auto merge of #133409 - RalfJung:target-consistency, r=lcnr
ensure JSON-defined targets are consistent

We have a `check_consistency` check that ensures some invariants which (presumably) the rest of the compiler relies on. However, JSON targets can easily be written in a way that violates those invariants. So this PR applies the same consistency check to JSON targets that we already enforce for built-in targets.

I have converted many of the assertions in that function to new macros that show a nice error instead of a panic; if people are okay with the general approach here, I can do that for the rest of the checks as well.
2024-11-29 01:35:20 +00:00
..
2024-11-28 12:22:02 +00:00
2024-11-25 16:10:55 +11:00
2024-11-23 13:52:54 +01:00
2024-11-26 10:45:21 +00:00
2024-11-23 13:52:57 +01:00