rust/src
Mazdak Farrokhzad 0c53b45e85
Rollup merge of #57461 - nnethercote:ParseResult-Failure-static-str, r=simulacrum
Change `String` to `&'static str` in `ParseResult::Failure`.

This avoids 770,000 allocations when compiling the `html5ever`
benchmark, reducing instruction counts by up to 2%.
2019-01-13 05:26:51 +01:00
..
bootstrap Rollup merge of #57368 - petrhosek:cmake-compiler-launcher, r=alexcrichton 2019-01-12 10:54:59 +01:00
build_helper Remove licenses 2018-12-25 21:08:33 -07:00
ci ci: Upgrade Travis to Xenial 2019-01-03 12:22:37 -08:00
doc Stabilise irrefutable if-let and while-let patterns 2019-01-12 03:10:59 +00:00
etc lldb_batchmode.py: try import _thread for Python 3 2019-01-08 13:19:50 -08:00
grammar Remove licenses 2018-12-25 21:08:33 -07:00
liballoc Rollup merge of #56425 - scottmcm:redo-vec-set_len-docs, r=Centril 2019-01-12 10:54:51 +01:00
libarena Check the correct arena 2019-01-01 20:06:50 +01:00
libcore Rollup merge of #57454 - sinkuu:fmt_cleanup, r=joshtriplett 2019-01-13 05:26:49 +01:00
libfmt_macros Point at correct span for arguments in format strings 2018-12-26 20:36:02 -08:00
libgraphviz Remove licenses 2018-12-25 21:08:33 -07:00
libpanic_abort Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libpanic_unwind Remove licenses 2018-12-25 21:08:33 -07:00
libproc_macro Work-around for shadowing of variant names with assoc const names in libproc_macro/bridge/rpc.rs. 2018-12-26 21:40:21 +00:00
libprofiler_builtins Remove licenses 2018-12-25 21:08:33 -07:00
librustc Auto merge of #56759 - petrochenkov:prestabuni, r=nikomatsakis 2019-01-12 20:11:36 +00:00
librustc_allocator Remove licenses 2018-12-25 21:08:33 -07:00
librustc_apfloat Fix repeated word typos 2019-01-03 21:33:37 +01:00
librustc_asan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_borrowck Update link to rustc guide 2018-12-28 13:34:00 -05:00
librustc_codegen_llvm add support for principal-less trait object types 2019-01-04 00:34:52 +02:00
librustc_codegen_ssa Auto merge of #57145 - RalfJung:panic-if-uninhabited, r=alexcrichton 2019-01-05 14:58:57 +00:00
librustc_codegen_utils Remove licenses 2018-12-25 21:08:33 -07:00
librustc_cratesio_shim Remove licenses 2018-12-25 21:08:33 -07:00
librustc_data_structures Auto merge of #56614 - Zoxc:query-perf2, r=michaelwoerister 2019-01-09 11:08:14 +00:00
librustc_driver Auto merge of #56614 - Zoxc:query-perf2, r=michaelwoerister 2019-01-09 11:08:14 +00:00
librustc_errors Replace LockCell with atomic types 2018-12-29 12:46:37 +01:00
librustc_fs_util Remove licenses 2018-12-25 21:08:33 -07:00
librustc_incremental Clean up and optimize OpenTask / read_index 2018-12-31 16:24:22 +01:00
librustc_lint check missing docs for reexported macros as well 2019-01-06 18:55:55 +01:00
librustc_llvm Rollup merge of #57369 - petrhosek:llvm-libcxx, r=alexcrichton 2019-01-07 16:25:38 +01:00
librustc_lsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_metadata Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
librustc_mir Rollup merge of #57351 - oli-obk:cheap_const_ops, r=RalfJung 2019-01-13 05:26:43 +01:00
librustc_msan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_passes Consolidate equality constraints error message 2019-01-08 23:53:43 +00:00
librustc_platform_intrinsics Remove licenses 2018-12-25 21:08:33 -07:00
librustc_plugin Remove licenses 2018-12-25 21:08:33 -07:00
librustc_privacy Address review comments 2019-01-06 03:31:43 +03:00
librustc_resolve Fix a hole in generic parameter import future-proofing 2019-01-12 16:18:55 +03:00
librustc_save_analysis save-analysis: use a fallback when access levels couldn't be computed 2019-01-08 01:02:13 +01:00
librustc_target Remove licenses 2018-12-25 21:08:33 -07:00
librustc_traits Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
librustc_tsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_typeck Rollup merge of #57412 - JohnTitor:improve-the-wording-1, r=varkor 2019-01-13 05:26:46 +01:00
librustdoc Rollup merge of #57417 - QuietMisdreavus:semi-revert-doctest-parsing, r=GuillaumeGomez 2019-01-12 10:55:02 +01:00
libserialize Remove licenses 2018-12-25 21:08:33 -07:00
libstd Rollup merge of #57511 - jethrogb:jb/fix-undef, r=cramertj 2019-01-12 10:55:20 +01:00
libsyntax Rollup merge of #57461 - nnethercote:ParseResult-Failure-static-str, r=simulacrum 2019-01-13 05:26:51 +01:00
libsyntax_ext don't unwrap unexpected tokens in format! 2019-01-11 13:00:44 -05:00
libsyntax_pos Remove licenses 2018-12-25 21:08:33 -07:00
libterm Remove licenses 2018-12-25 21:08:33 -07:00
libtest Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libunwind Remove licenses 2018-12-25 21:08:33 -07:00
llvm@f4728ed8fa Update LLVM submodule 2018-12-18 15:26:10 +05:30
llvm-emscripten@7f23313edf Pull in fix for dist-i686-linux build 2018-11-09 16:59:45 +01:00
rtstartup Remove licenses 2018-12-25 21:08:33 -07:00
rustc rustc: Fix regression where jemalloc isn't used 2019-01-03 13:52:36 -08:00
rustllvm Remove licenses 2018-12-25 21:08:33 -07:00
stdsimd@269d0ba959 Update stdsimd submodule 2019-01-08 20:24:15 +01:00
test Rollup merge of #57412 - JohnTitor:improve-the-wording-1, r=varkor 2019-01-13 05:26:46 +01:00
tools Rollup merge of #57510 - nrc:manifest-profiles, r=alexcrichton 2019-01-12 10:55:19 +01:00
.gitignore
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
stage0.txt Bump stage0 2019-01-04 07:30:20 -08: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 the following READMEs, which are gradually being moved over to the guide: