rust/compiler/rustc_ast/src
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
..
attr Remove WorkerLocal from AttrIdGenerator 2023-04-16 05:50:58 +02:00
expand Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
util Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errors 2023-05-05 18:40:33 +05:30
ast_traits.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
ast.rs Rollup merge of #111215 - BoxyUwU:resolve_anon_consts_differently, r=cjgillot 2023-05-09 20:49:32 +02:00
entry.rs Fixup missing renames from #[main] to #[rustc_main] 2022-06-22 18:24:09 +02:00
format.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
lib.rs make rustc compilable 2023-04-16 07:25:13 +00:00
mut_visit.rs Rip it out 2023-05-01 16:15:13 +08:00
node_id.rs Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00
ptr.rs make rustc compilable 2023-04-16 07:25:13 +00:00
token.rs initial step towards implementing C string literals 2023-05-02 10:30:09 +00:00
tokenstream.rs correct literals for dyn thread safe 2023-05-06 09:34:53 +08:00
visit.rs misc nameres changes for anon consts 2023-05-05 21:31:35 +01:00