rust/src
bors d7afaa7247 Auto merge of #71444 - RalfJung:test-async-no-opt, r=jonas-schievink
smoke-test for async fn with mir-opt-level=0

MIR opt levels heavily influence which MIR transformations run, and we barely test non-default opt levels. I am particularly worried about `async fn` lowering and how it might (not) work when the set of preceding MIR passes changes -- see https://github.com/rust-lang/rust/pull/70073.

This adds some basic smoke testing, where at least a few `async fn` `run-pass` test are ensured to also work with mir-opt-level=0.
2020-04-28 09:06:55 +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 unstable-book: Document -Z tls-model 2020-04-26 23:36:00 +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 separate out an arena for HIR 2020-03-21 22:18:57 +01:00
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 Auto merge of #71292 - marmeladema:queries-local-def-id, r=eddyb 2020-04-28 05:01:27 +00:00
librustc_codegen_ssa Change return type of entry_fn query to return a LocalDefId 2020-04-27 23:58:11 +01: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 #[link]: mention wasm_import_module instead of cfg 2020-03-29 17:40:04 +02:00
librustc_fs_util
librustc_hir Fix broken link in QPath documentation 2020-04-26 22:32:14 +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 Auto merge of #71268 - estebank:devectorize, r=eddyb 2020-04-27 10:00:05 +00:00
librustc_interface Auto merge of #71292 - marmeladema:queries-local-def-id, r=eddyb 2020-04-28 05:01:27 +00:00
librustc_lexer Minor refactoring 2020-04-21 22:29:20 +05:30
librustc_lint Accept LocalDefId as key for lint_mod query 2020-04-27 23:55:41 +01: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 Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Return a FxHashSet<LocalDefId> from mir_keys query 2020-04-27 21:50:17 +01:00
librustc_middle Accept LocalDefId as key for check_impl_item_well_formed query 2020-04-27 23:58:11 +01:00
librustc_mir Auto merge of #71292 - marmeladema:queries-local-def-id, r=eddyb 2020-04-28 05:01:27 +00:00
librustc_mir_build Accept LocalDefId as argument for mir_build::lint::check 2020-04-27 23:55:41 +01:00
librustc_parse Avoid unused Option::map results 2020-04-24 13:58:41 -07:00
librustc_passes Change return type of entry_fn query to return a LocalDefId 2020-04-27 23:58:11 +01:00
librustc_plugin_impl Remove support for self-opening 2020-04-25 10:55:20 -04:00
librustc_privacy Accept LocalDefId as key for check_mod_privacy query 2020-04-27 23:55:41 +01: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 Accept LocalDefId as keyt for names_imported_by_glob_use 2020-04-27 21:50:17 +01:00
librustc_session rustc_target: Stop using "string typing" for TLS models 2020-04-26 23:36:00 +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 TLS models 2020-04-26 23:36:00 +03:00
librustc_trait_selection Use LocalDefId in typeck_tables_of and used_trait_imports queries 2020-04-27 21:50:17 +01: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 Auto merge of #71292 - marmeladema:queries-local-def-id, r=eddyb 2020-04-28 05:01:27 +00: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 Rollup merge of #67841 - sfackler:can-vector, r=Amaneiu 2020-04-27 22:14:55 +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 Auto merge of #71444 - RalfJung:test-async-no-opt, r=jonas-schievink 2020-04-28 09:06:55 +00:00
tools Auto merge of #71606 - Xanewok:update-rls, r=Xanewok 2020-04-28 01:46:47 +00: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.