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-12 15:14:56 +00:00
2024-11-22 10:54:22 +00:00
2024-11-28 12:22:02 +00:00
2024-11-28 15:58:17 +00:00
2024-11-25 16:38:35 +08:00
2024-11-26 12:03:41 -05:00
2024-11-10 10:16:26 +01:00
2024-11-12 13:38:58 +00:00
2024-11-27 20:39:49 +00:00
2024-11-26 04:12:33 +00:00
2024-11-28 12:06:01 +01:00
2024-11-25 23:11:17 +09:00
2024-11-28 21:44:34 +00:00
2024-11-28 21:44:34 +00:00
2024-11-26 12:05:57 +11:00
2024-11-20 18:11:37 +01:00
2024-11-27 22:23:24 +01:00
2024-11-08 09:16:00 +01:00
2024-11-12 13:38:58 +00:00
2024-11-12 18:04:27 +00:00
2024-11-21 19:32:07 +01:00
2024-11-25 07:01:37 +01:00
2024-11-28 12:22:02 +00:00
2024-11-28 03:14:47 +01:00
2024-11-26 12:03:41 -05:00
2024-11-28 12:06:00 +01:00
2024-11-09 17:55:39 +00:00
2024-11-20 20:53:11 +08:00
2024-11-22 10:54:22 +00:00
2024-11-23 18:01:21 +00:00
2024-11-27 22:23:24 +01:00
2024-11-25 16:10:55 +11:00
2024-11-28 12:06:04 +01:00
2024-11-25 22:29:14 -07:00
2024-11-23 20:19:51 +08:00
2024-11-28 12:22:02 +00:00
2024-11-28 21:44:34 +00:00
2024-11-23 23:26:19 +00:00
2024-11-26 20:35:40 -05:00
2024-11-27 22:23:25 +01:00
2024-11-28 13:43:05 -05:00
2024-11-23 13:52:56 +01:00
2024-11-28 12:06:07 +01:00
2024-11-25 16:38:35 +08:00
2024-11-23 13:52:54 +01:00
2024-11-11 21:29:18 +01:00
2024-11-27 22:23:24 +01:00
2024-11-19 02:07:48 +00:00
2024-11-28 12:22:02 +00:00
2024-11-18 10:38:56 +01:00
2024-11-26 10:45:21 +00:00
2024-11-27 22:23:24 +01:00
2024-11-28 12:06:02 +01:00
2024-11-19 21:36:23 +01:00
2024-11-29 01:35:20 +00:00
2024-11-27 13:02:46 +00:00
2024-11-23 05:27:45 +00:00
2024-11-18 10:38:56 +01:00
2024-11-23 13:52:57 +01:00
2024-11-27 13:02:46 +00:00
2024-11-08 18:51:28 +11:00