rust/src
bors d81f5597ac Auto merge of #70073 - wesleywiser:mir_opt_level_0, r=oli-obk
Don't run various MIR optimizations at mir-opt-level=0

Add missing checks for mir-opt-level to non-essential MIR passes.

I verified that this can still bootstrap even with these passes disabled.

r? @oli-obk cc @RalfJung
2020-04-27 07:04:46 +00:00
..
bootstrap Auto merge of #71439 - Mark-Simulacrum:stage0-next, r=jonas-schievink 2020-04-25 14:15:10 +00:00
build_helper
ci ci: remove duplicated job names on GHA 2020-04-22 18:55:48 +02:00
doc rustc-book: Document -C relocation-model 2020-04-26 11:37:16 +03:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Rollup merge of #71589 - RalfJung:unique-no-shr, r=SimonSapin 2020-04-27 03:26:18 +02:00
libarena
libcore Rollup merge of #71589 - RalfJung:unique-no-shr, r=SimonSapin 2020-04-27 03:26:18 +02:00
libfmt_macros Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
libgraphviz
libpanic_abort Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libpanic_unwind Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libproc_macro Rollup merge of #68716 - petrochenkov:stabmixed, r=dtolnay 2020-04-27 03:26:05 +02:00
libprofiler_builtins Require compiler-rt root at ../src/llvm-project/compiler-rt 2020-04-11 17:49:16 -04:00
librustc_apfloat Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast Rollup merge of #71284 - JOE1994:serialize_id, r=petrochenkov 2020-04-20 18:07:09 +02:00
librustc_ast_lowering Rollup merge of #71494 - flip1995:while_let_span, r=petrochenkov 2020-04-25 11:25:50 +02:00
librustc_ast_passes allow const generics in const fn 2020-04-13 22:37:20 +02:00
librustc_ast_pretty Remove unused dependencies 2020-04-20 17:59:27 +09:00
librustc_attr Avoid unused Option::map results 2020-04-24 13:58:41 -07:00
librustc_builtin_macros Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_codegen_llvm codegen_llvm: Simplify logic for relaxing PIC into PIE 2020-04-26 11:18:48 +03:00
librustc_codegen_ssa codegen_llvm: Simplify logic for relaxing PIC into PIE 2020-04-26 11:18:48 +03:00
librustc_data_structures Replace thread_local with generator resume arguments in box_region. 2020-04-25 18:19:27 +02:00
librustc_driver fix more clippy warnings 2020-04-26 02:24:01 +02:00
librustc_error_codes Rollup merge of #71426 - contrun:fix-e0751-explanation, r=estebank 2020-04-24 02:47:35 +02:00
librustc_errors Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
librustc_expand Avoid unused Option::map results 2020-04-24 13:58:41 -07:00
librustc_feature
librustc_fs_util
librustc_hir Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb 2020-04-26 01:00:13 +02:00
librustc_hir_pretty Remove unused dependencies 2020-04-20 17:59:27 +09:00
librustc_incremental librustc_middle: return LocalDefId instead of DefId in local_def_id 2020-04-23 23:14:07 +01:00
librustc_index Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_infer Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb 2020-04-26 01:00:13 +02:00
librustc_interface Rollup merge of #71537 - Mark-Simulacrum:no-self-open, r=davidtwco 2020-04-26 21:02:35 +02:00
librustc_lexer Minor refactoring 2020-04-21 22:29:20 +05:30
librustc_lint Quick and dirty fix of the unused_braces lint 2020-04-24 19:15:06 +02:00
librustc_llvm Don't emit rerun-if-changed on llvm-config if using system LLVM 2020-04-11 17:49:16 -04:00
librustc_macros
librustc_metadata Rollup merge of #71537 - Mark-Simulacrum:no-self-open, r=davidtwco 2020-04-26 21:02:35 +02:00
librustc_middle Rollup merge of #71569 - samrat:miri-ub-on-size-mismatch, r=RalfJung 2020-04-26 21:02:39 +02:00
librustc_mir Auto merge of #70073 - wesleywiser:mir_opt_level_0, r=oli-obk 2020-04-27 07:04:46 +00:00
librustc_mir_build fix more clippy warnings 2020-04-26 02:24:01 +02:00
librustc_parse Avoid unused Option::map results 2020-04-24 13:58:41 -07:00
librustc_passes Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb 2020-04-26 01:00:13 +02:00
librustc_plugin_impl Remove support for self-opening 2020-04-25 10:55:20 -04:00
librustc_privacy Remove Option from the return type of def_kind. 2020-04-24 13:44:07 -05:00
librustc_query_system Avoid unused Option::map results 2020-04-24 13:58:41 -07:00
librustc_resolve Rollup merge of #71438 - estebank:resolve-sugg-tiny, r=petrochenkov 2020-04-27 03:26:17 +02:00
librustc_save_analysis Split out the Generator case from DefKind::Closure. 2020-04-24 13:31:37 -05:00
librustc_session rustc-book: Document -C relocation-model 2020-04-26 11:37:16 +03:00
librustc_span Rollup merge of #71263 - shlevy:FileLoader-remove-abs_path, r=Xanewok 2020-04-27 03:26:11 +02:00
librustc_symbol_mangling Modify as_local_hir_id to return a bare HirId 2020-04-23 23:14:07 +01:00
librustc_target rustc_target: Stop using "string typing" for relocation models 2020-04-26 11:18:47 +03:00
librustc_trait_selection Rollup merge of #71409 - estebank:point-at-ret-question-mark-op, r=petrochenkov 2020-04-27 03:26:13 +02:00
librustc_traits Remove Option from the return type of def_kind. 2020-04-24 13:44:07 -05:00
librustc_ty Modify as_local_hir_id to return a bare HirId 2020-04-23 23:14:07 +01:00
librustc_typeck Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb 2020-04-26 01:00:13 +02:00
librustdoc Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb 2020-04-26 01:00:13 +02:00
libserialize Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04:00
libstd fix more clippy warnings 2020-04-26 02:24:01 +02:00
libterm Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
libtest Add illumos triple 2020-04-14 20:36:07 +00:00
libunwind Add illumos triple 2020-04-14 20:36:07 +00:00
llvm-project@9f9da27fbd Update LLVM submodule fixing sanitizers build with glibc 2.31 2020-04-07 18:00:02 +02:00
rtstartup
rustc
rustllvm codegen_llvm: RelocMode -> RelocModel 2020-04-26 11:18:48 +03:00
stdarch@d10eefc622 Update stdarch submodule 2020-04-24 22:15:12 +01:00
test Rollup merge of #71438 - estebank:resolve-sugg-tiny, r=petrochenkov 2020-04-27 03:26:17 +02:00
tools submodules: update clippy from 891e1a85 to b7c802b5 2020-04-26 14:33:38 +02:00
README.md
stage0.txt Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04:00

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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