rust/src
bors 8ba22504e8 Auto merge of #74275 - wesleywiser:break_up_partitioning_rs, r=pnkfelix
Refactor the partitioning module to make it easier to introduce new algorithms

I've split the `librustc_mir::monomorphize::partitioning` module into a few files and introduced a `Partitioner` trait which allows us to decouple the partitioning algorithm from the code which integrates it into the query system. This should allow us to introduce new partitioning algorithms much more easily. I've also gone ahead and added a `-Z` flag to control which algorithm is used (currently there is only the `default`).

I left a few comments in places where things might be improved further.

r? @pnkfelix cc @rust-lang/wg-incr-comp
2020-08-25 18:52:11 +00:00
..
bootstrap Auto merge of #75773 - matklad:snapshot-tests, r=Mark-Simulacrum 2020-08-25 09:36:23 +00:00
build_helper build: Harden env var tracking in build scripts 2020-07-22 19:51:19 +03:00
ci ci: fix macOS target name for LLVM 10 2020-08-25 17:41:50 +02:00
doc Document prim@ and primitive@ 2020-08-23 22:40:20 -04:00
etc Handle new HashMap layout in CDB, MSVC, WinDbg, etc. 2020-08-07 07:03:15 +01:00
librustc_apfloat
librustc_arena Simplify arena_types macros 2020-08-14 17:34:32 +01:00
librustc_ast Auto merge of #75465 - Aaron1011:feature/short-fn-def-span, r=estebank 2020-08-23 08:14:17 +00:00
librustc_ast_lowering hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_ast_passes Auto merge of #74566 - lzutao:guard, r=petrochenkov 2020-08-22 15:38:13 +00:00
librustc_ast_pretty rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_attr rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_builtin_macros Use smaller def span for functions 2020-08-22 18:41:49 -04:00
librustc_codegen_llvm More inline asm register name fixups for LLVM 2020-08-21 18:42:06 +01:00
librustc_codegen_ssa hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_data_structures Add tagged pointer impl to data structures 2020-08-19 15:08:35 -04:00
librustc_driver rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_error_codes Rollup merge of #75702 - GuillaumeGomez:cleanup-e0759, r=pickfire 2020-08-20 10:07:22 -07:00
librustc_errors Rollup merge of #75389 - RalfJung:span_label, r=davidtwco 2020-08-18 09:27:39 +09:00
librustc_expand Prefer https link for wikipedia URLs 2020-08-23 10:02:42 +00:00
librustc_feature Auto merge of #74566 - lzutao:guard, r=petrochenkov 2020-08-22 15:38:13 +00:00
librustc_fs_util
librustc_graphviz
librustc_hir hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_hir_pretty Auto merge of #75120 - JulianKnodt:rm_reps, r=oli-obk 2020-08-17 23:16:08 +00:00
librustc_incremental rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_index Auto merge of #75537 - tmiasko:match-branch-simplify, r=oli-obk 2020-08-15 13:41:05 +00:00
librustc_infer Stabilize Range[Inclusive]::is_empty 2020-08-24 13:20:25 -07:00
librustc_interface Promote missing_fragment_specifier to hard error 2020-08-18 09:06:45 +02:00
librustc_lexer Introduce expect snapshot testing library into rustc 2020-08-24 15:38:42 +02:00
librustc_lint Rollup merge of #75554 - jumbatm:fix-clashing-extern-decl-overflow, r=lcnr 2020-08-19 15:54:30 +09:00
librustc_llvm Fix windows-gnu host cross-compilation 2020-08-19 19:37:22 +02:00
librustc_macros Rework rustc_serialize 2020-08-14 17:34:30 +01:00
librustc_metadata rustc_metadata: Move some code around to merge impls of CrateMetadataRef 2020-08-22 21:38:56 +03:00
librustc_middle Auto merge of #75132 - scottmcm:stabilize-range-is-empty, r=dtolnay 2020-08-25 05:24:30 +00:00
librustc_mir Auto merge of #74275 - wesleywiser:break_up_partitioning_rs, r=pnkfelix 2020-08-25 18:52:11 +00:00
librustc_mir_build hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_parse Auto merge of #75465 - Aaron1011:feature/short-fn-def-span, r=estebank 2020-08-23 08:14:17 +00:00
librustc_parse_format fix clippy::map_identity: remove redundant .map(|x| x) call 2020-08-07 22:47:32 +02:00
librustc_passes hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_plugin_impl rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_privacy hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_query_system replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_resolve resolve: Add comments to traits_in_scope 2020-08-23 17:47:59 -04:00
librustc_save_analysis Use smaller def span for functions 2020-08-22 18:41:49 -04:00
librustc_serialize Fix rustc_serialize unit tests 2020-08-14 17:34:32 +01:00
librustc_session Auto merge of #74275 - wesleywiser:break_up_partitioning_rs, r=pnkfelix 2020-08-25 18:52:11 +00:00
librustc_span Auto merge of #73084 - Aaron1011:feature/new-recursive-expand, r=petrochenkov 2020-08-23 01:44:36 +00:00
librustc_symbol_mangling Prefer https link for wikipedia URLs 2020-08-23 10:02:42 +00:00
librustc_target replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_trait_selection hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_traits rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
librustc_ty hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustc_typeck hir: consistent use and naming of lang items 2020-08-24 12:17:51 +01:00
librustdoc Auto merge of #75666 - davidtwco:tidy-lang-items, r=varkor 2020-08-25 01:06:16 +00:00
llvm-project@45790d7949 Upgrade to LLVM 11 (rc2) 2020-08-22 13:44:54 -07:00
rustc
rustllvm Write coverage filenames in Version3 format 2020-08-22 13:44:54 -07:00
test Stabilize Range[Inclusive]::is_empty 2020-08-24 13:20:25 -07:00
tools Auto merge of #75773 - matklad:snapshot-tests, r=Mark-Simulacrum 2020-08-25 09:36:23 +00:00
README.md Update outdated readme 2020-07-27 22:05:34 -05:00
stage0.txt Bump to 1.47 2020-07-16 19:36:49 -04:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.