rust/compiler
Trevor Gross 7b355110df
Rollup merge of #142384 - celinval:chores-rayon-mv, r=oli-obk
Bringing `rustc_rayon_core` in tree as `rustc_thread_pool`

This PR moves [`rustc_rayon_core`](5fadf44/rayon-core) from commit `5fadf44` as suggested in [this zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/187679-t-compiler.2Fparallel-rustc/topic/Bringing.20.60rustc_rayon_core.60.20in.20tree). I tried to split the work into separate commits so it is easy to review. The first commit is a simple copy and paste from the fork, and subsequent changes were made to use the new crate and to ensure the new crate complies with different format and lint expectations.

**Call-out:** I was also wondering if I need to make any further changes to accommodate licensing requirements.

r? oli-obk
2025-06-20 23:25:54 -04:00
..
rustc Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
rustc_abi add extern "custom" functions 2025-06-12 20:27:10 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast Auto merge of #141061 - dpaoliello:shimasfn, r=bjorn3 2025-06-18 09:24:40 +00:00
rustc_ast_ir Use -Wunused_crate_dependencies for compiler crates. 2025-03-20 08:59:43 +11:00
rustc_ast_lowering Auto merge of #140748 - m-ou-se:super-format-args3, r=jdonszelmann 2025-06-19 19:13:32 +00:00
rustc_ast_passes Fold unnecessary visit_struct_field_def in AstValidator 2025-06-16 17:48:21 +00:00
rustc_ast_pretty Rollup merge of #142069 - nnethercote:Zmacro-stats, r=petrochenkov 2025-06-13 05:16:56 +02:00
rustc_attr_data_structures cold 2025-06-20 15:06:29 +02:00
rustc_attr_parsing Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35 2025-06-20 23:09:48 +00:00
rustc_baked_icu_data Add unreachable_pub to RUSTC_LINT_FLAGS for compiler/ crates. 2025-03-11 13:14:21 +11:00
rustc_borrowck Remove old format_args diagnostic. 2025-06-19 14:08:29 +02:00
rustc_builtin_macros Avoid some unnecessary symbol interning. 2025-06-20 13:18:41 +10:00
rustc_codegen_cranelift Auto merge of #141061 - dpaoliello:shimasfn, r=bjorn3 2025-06-18 09:24:40 +00:00
rustc_codegen_gcc various minor target feature cleanups 2025-06-19 10:50:03 +09:00
rustc_codegen_llvm various minor target feature cleanups 2025-06-19 10:50:03 +09:00
rustc_codegen_ssa Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkov 2025-06-20 13:36:01 -04:00
rustc_const_eval Rollup merge of #142575 - oli-obk:sneaky-self-init, r=RalfJung 2025-06-20 13:36:01 -04:00
rustc_data_structures Rollup merge of #142384 - celinval:chores-rayon-mv, r=oli-obk 2025-06-20 23:25:54 -04:00
rustc_driver Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
rustc_driver_impl Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkov 2025-06-20 13:36:01 -04:00
rustc_error_codes convert the optimize attribute to a new parser 2025-06-18 13:48:42 +02:00
rustc_error_messages Extract Translator struct 2025-06-19 13:02:04 -05:00
rustc_errors Extract SilentEmitter 2025-06-19 13:05:01 -05:00
rustc_expand Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35 2025-06-20 23:09:48 +00:00
rustc_feature correct template for #[align] 2025-06-19 13:58:23 +02:00
rustc_fluent_macro Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_fs_util Retry if creating temp fails with access denied 2025-04-25 11:28:36 +00:00
rustc_graphviz Remove #![warn(unreachable_pub)] from all compiler/ crates. 2025-03-11 13:14:21 +11:00
rustc_hashes Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
rustc_hir trait_sel: {Meta,Pointee}Sized on Sized types 2025-06-16 15:00:22 +00:00
rustc_hir_analysis Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obk 2025-06-20 02:50:40 -04:00
rustc_hir_pretty Avoid some unnecessary symbol interning. 2025-06-20 13:18:41 +10:00
rustc_hir_typeck Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obk 2025-06-20 02:50:40 -04:00
rustc_incremental Auto merge of #139758 - Zoxc:thread-local-graph, r=oli-obk 2025-05-07 12:39:54 +00:00
rustc_index index: add method for checking range on DenseBitSet 2025-06-04 00:47:12 +02:00
rustc_index_macros In rustc_mir_tranform, iterate over index newtypes instead of ints 2025-04-12 11:53:07 +00:00
rustc_infer Cache instantiation of canonical binder 2025-06-19 04:23:25 +00:00
rustc_interface Rollup merge of #142384 - celinval:chores-rayon-mv, r=oli-obk 2025-06-20 23:25:54 -04:00
rustc_lexer rustc_lexer: typo fix + small cleanups 2025-06-06 13:08:16 +00:00
rustc_lint Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obk 2025-06-20 02:50:40 -04:00
rustc_lint_defs Rollup merge of #141937 - WaffleLapkin:never-report-in-deps, r=oli-obk,traviscross 2025-06-15 23:51:55 +02:00
rustc_llvm rustc_llvm: add Windows system libs only when cross-compiling from Windows 2025-05-31 15:47:14 +02:00
rustc_log Add documentation for init_logger_with_additional_layer 2025-06-12 12:11:15 +02:00
rustc_macros Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_metadata Auto merge of #142689 - Urgau:rollup-4ho6835, r=Urgau 2025-06-18 21:19:39 +00:00
rustc_middle Rollup merge of #142384 - celinval:chores-rayon-mv, r=oli-obk 2025-06-20 23:25:54 -04:00
rustc_mir_build Unimplement unsized_locals 2025-06-13 01:16:36 +02:00
rustc_mir_dataflow update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
rustc_mir_transform Rollup merge of #135656 - joshtriplett:hint-mostly-unused, r=saethlin 2025-06-18 19:40:30 +02:00
rustc_monomorphize Remove all support for wasm's legacy ABI 2025-06-14 09:57:06 +00:00
rustc_next_trait_solver Implement lint against direct uses of rustc_type_ir in compiler crates 2025-06-18 16:01:41 +02:00
rustc_parse Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkov 2025-06-20 13:36:01 -04:00
rustc_parse_format Add ParseMode::Diagnostic unit tests 2025-06-09 16:28:58 +02:00
rustc_passes Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35 2025-06-20 23:09:48 +00:00
rustc_pattern_analysis Use builin_index instead of hand-rolling it 2025-05-28 10:03:01 +00:00
rustc_privacy Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
rustc_proc_macro Do not get proc_macro from the sysroot in rustc 2025-05-27 15:49:28 +00:00
rustc_query_impl Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_query_system Rollup merge of #142384 - celinval:chores-rayon-mv, r=oli-obk 2025-06-20 23:25:54 -04:00
rustc_resolve remove equivalent new method on context 2025-06-20 07:50:11 +02:00
rustc_sanitizers Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
rustc_serialize library/compiler: add PointeeSized bounds 2025-06-16 23:04:33 +00:00
rustc_session Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkov 2025-06-20 13:36:01 -04:00
rustc_smir Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obk 2025-06-17 15:08:50 +00:00
rustc_span Rollup merge of #142767 - nnethercote:symbol-cleanups, r=petrochenkov 2025-06-20 20:03:24 +02:00
rustc_symbol_mangling Change __rust_no_alloc_shim_is_unstable to be a function 2025-06-16 10:54:07 -07:00
rustc_target various minor target feature cleanups 2025-06-19 10:50:03 +09:00
rustc_thread_pool Apply suggestions from code review 2025-06-16 12:27:47 -07:00
rustc_trait_selection Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obk 2025-06-20 02:50:40 -04:00
rustc_traits FIXME(-Znext-solver) triage 2025-06-03 14:23:56 +02:00
rustc_transmute transmutability: shift abstraction boundary 2025-06-09 14:08:12 +00:00
rustc_ty_utils Rollup merge of #142619 - klensy:or_fun_call, r=nnethercote 2025-06-18 18:06:51 +02:00
rustc_type_ir Rollup merge of #140247 - BoxyUwU:iats_no_query_cycles, r=lcnr 2025-06-18 20:22:48 -04:00
rustc_type_ir_macros Split TypeFolder and FallibleTypeFolder 2025-04-15 18:30:35 +00:00
stable_mir Change rustc_driver dependency on stable_mir crate 2025-04-30 15:39:52 -07:00