bors
dd8ec9c88d
Auto merge of #107586 - SparrowLii:parallel-query, r=cjgillot
...
Introduce `DynSend` and `DynSync` auto trait for parallel compiler
part of parallel-rustc #101566
This PR introduces `DynSend / DynSync` trait and `FromDyn / IntoDyn` structure in rustc_data_structure::marker. `FromDyn` can dynamically check data structures for thread safety when switching to parallel environments (such as calling `par_for_each_in`). This happens only when `-Z threads > 1` so it doesn't affect single-threaded mode's compile efficiency.
r? `@cjgillot`
2023-05-13 13:47:53 +00:00
..
2023-05-05 16:30:32 -07:00
2023-05-13 13:47:53 +00:00
2023-05-12 10:24:03 +00:00
2023-05-05 21:44:48 +02:00
2023-05-05 21:44:13 +02:00
2023-05-05 13:06:48 +02:00
2023-05-02 10:45:16 -07:00
2023-05-13 11:05:32 +05:30
2023-05-12 12:04:32 +00:00
2023-05-06 22:32:39 -06:00
2023-05-07 12:38:47 +01:00
2023-05-11 17:43:07 -07:00
2023-05-13 13:47:53 +00:00
2023-05-06 22:32:39 -06:00
2023-05-13 13:47:53 +00:00
2023-05-13 13:47:53 +00:00
2023-05-09 20:49:32 +02:00
2023-05-06 09:34:53 +08:00
2023-05-13 13:47:53 +00:00
2023-05-06 09:34:18 +08:00
2023-05-11 18:06:31 +04:00
2023-05-07 00:12:29 +03:00
2023-05-12 10:24:03 +00:00
2023-05-12 10:25:34 +00:00
2023-05-12 10:26:50 +00:00
2023-05-04 08:09:04 +02:00
2023-05-13 11:05:32 +05:30
2023-05-13 13:47:53 +00:00
2023-05-02 10:32:07 +00:00
2023-05-13 13:47:53 +00:00
2023-05-08 04:50:28 +00:00
2023-05-12 01:40:04 +03:00
2023-05-09 12:33:46 +05:30
2023-05-13 13:47:53 +00:00
2023-05-13 13:47:53 +00:00
2023-05-11 07:05:26 +02:00
2023-05-10 20:54:31 +00:00
2023-05-12 07:11:13 +02:00
2023-05-06 22:32:39 -06:00
2023-05-09 12:33:46 +05:30
2023-05-04 20:49:23 +00:00
2023-05-09 15:16:17 +00:00
2023-05-03 08:44:39 +10:00
2023-05-11 17:43:09 -07:00
2023-05-04 13:52:14 +10:00
2023-05-13 13:47:53 +00:00
2023-05-08 14:23:19 +00:00
2023-05-13 13:47:53 +00:00
2023-05-09 20:04:19 +00:00
2023-05-12 17:22:47 +08:00
2023-05-12 00:10:52 +00:00
2023-05-04 16:59:10 +02:00
2023-05-12 10:26:50 +00:00
2023-05-11 17:43:07 -07:00