rust/src/librustdoc
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-04 16:59:11 +02:00
2023-04-16 21:44:12 -04:00
2023-03-15 16:47:14 +01:00
2023-04-28 08:47:55 -07:00
2023-01-01 18:11:53 +00:00
2023-04-29 13:13:25 +02:00
2023-01-01 18:11:53 +00:00

For more information about how librustdoc works, see the rustc dev guide.