rust/src
Tyler Mandry bd9d843ae4
Rollup merge of #64801 - nnethercote:improve-find_constraint_paths_between_regions, r=estebank
Avoid `chain()` in `find_constraint_paths_between_regions()`.

This iterator can be hot, and chained iterators are slow. The second
half of the chain is almost always empty, so this commit specializes the
code to avoid the chained iteration.

This change reduces instruction counts for the `wg-grammar` benchmark by
up to 1.5%.
2019-10-01 23:06:12 -07:00
..
bootstrap Switch version to 1.40 2019-09-25 08:20:32 -04:00
build_helper
ci Rollup merge of #64722 - Mark-Simulacrum:alt-parallel, r=alexcrichton 2019-10-01 23:06:11 -07:00
doc Remove legacy grammar 2019-09-30 07:46:10 +02:00
etc ignore-x86 instead of ignore-musl 2019-09-22 11:33:13 -07:00
liballoc Rollup merge of #64912 - lzutao:unneeded-main-doc, r=jonas-schievink 2019-10-01 23:56:23 +02:00
libarena
libcore Rollup merge of #64943 - lzutao:doc-saturating, r=shepmaster 2019-10-01 23:56:26 +02:00
libfmt_macros Cleaned up a few doc comments in libfmt_macros. 2019-09-30 01:15:48 +01:00
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
libprofiler_builtins
librustc Rollup merge of #64722 - Mark-Simulacrum:alt-parallel, r=alexcrichton 2019-10-01 23:06:11 -07:00
librustc_apfloat Rollup merge of #63416 - RalfJung:apfloat, r=eddyb 2019-10-01 23:56:16 +02:00
librustc_asan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_codegen_llvm remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_ssa remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_utils Switch over all StableHash impls to new format 2019-09-28 11:47:36 -04:00
librustc_data_structures remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_driver Rollup merge of #64799 - Aaron1011:fix/double-panic, r=Mark-Simulacrum 2019-09-29 04:36:01 +02:00
librustc_errors Fix borrowck errors 2019-10-01 03:22:07 +03:00
librustc_fs_util
librustc_incremental Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_index remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_interface Rollup merge of #64722 - Mark-Simulacrum:alt-parallel, r=alexcrichton 2019-10-01 23:06:11 -07:00
librustc_lexer fill metadata in rustc_lexer's Cargo.toml 2019-09-05 23:03:50 +03:00
librustc_lint remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_llvm fix a few typos in comments 2019-09-04 23:25:51 +08:00
librustc_lsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_macros Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
librustc_metadata remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_mir Rollup merge of #64801 - nnethercote:improve-find_constraint_paths_between_regions, r=estebank 2019-10-01 23:06:12 -07:00
librustc_msan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_passes Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_plugin Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_privacy Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_resolve Rollup merge of #64691 - estebank:unexpected-variant, r=Centril 2019-09-29 20:34:12 +02:00
librustc_save_analysis Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_target remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_traits Remove lift_to_global 2019-09-27 13:33:50 -04:00
librustc_tsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_typeck Rollup merge of #64649 - estebank:returnator, r=varkor 2019-10-01 23:06:09 -07:00
librustdoc Auto merge of #64778 - csmoe:index, r=eddyb 2019-09-30 13:33:15 +00:00
libserialize Tweak libserialize allows 2019-09-23 09:34:44 -07:00
libstd Rollup merge of #64912 - lzutao:unneeded-main-doc, r=jonas-schievink 2019-10-01 23:56:23 +02:00
libsyntax Rollup merge of #64910 - Centril:params-cleanup, r=petrochenkov 2019-10-01 23:56:21 +02:00
libsyntax_ext syntax: Support modern attribute syntax in the meta matcher 2019-09-30 22:58:22 +03:00
libsyntax_pos Rollup merge of #64907 - alexreg:tidy-up, r=Mark-Simulacrum 2019-10-01 09:55:34 +02:00
libterm
libtest Spawn one subprocess per unit test when panic=abort 2019-09-28 13:52:18 -07:00
libunwind
llvm-emscripten@7f23313edf
llvm-project@8adf9bdccf Update to LLVM 9.0.0 2019-09-20 09:36:03 -07:00
rtstartup
rustc
rustllvm
stdarch@e0ab2c165a Move --cfg bootstrap out of rustc.rs 2019-09-23 09:34:44 -07:00
test Rollup merge of #64649 - estebank:returnator, r=varkor 2019-10-01 23:06:09 -07:00
tools Update clippy 2019-10-01 17:53:57 -07:00
README.md
stage0.txt Switch version to 1.40 2019-09-25 08:20:32 -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 guide.

There is also useful content in this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.