rust/src
Nicholas Nethercote cc17b1bc3c Add Symbol::{with,with2}.
And remove the `unsafe` blocks, they're not necessary.

Also rewrite `InternedString::{with,with2}` to use the new functions.

Finally, add some comments about the speed of the
`as_str()`/`as_interned_str()` functions.
2019-09-04 15:21:33 +10:00
..
bootstrap Rollup merge of #63979 - alexcrichton:remove-wasm-syscall, r=dtolnay 2019-08-29 17:14:03 +02:00
build_helper rustbuild: allow disabling deny(warnings) for bootstrap 2019-08-27 17:26:54 +02:00
ci Auto merge of #63521 - newpavlov:redox_builder, r=pietroalbini 2019-08-23 08:58:24 +00:00
doc Update single-use-lifetimes 2019-08-22 22:39:21 +00:00
etc std: Remove the wasm_syscall feature 2019-08-28 08:34:31 -07:00
grammar
liballoc Rollup merge of #63684 - GrayJack:const_list_new, r=Centril 2019-08-30 23:08:01 +02:00
libarena Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
libcore Fix word repetition in str documentation 2019-08-31 17:38:23 +01:00
libfmt_macros Rollup merge of #63121 - estebank:formatting-pos, r=alexcrichton 2019-08-03 00:09:06 +02:00
libgraphviz Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libpanic_abort redox: convert to target_family unix 2019-08-06 16:18:23 -06:00
libpanic_unwind libpanic_unwind: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
libproc_macro proc_macro: Turn quote into a regular built-in macro 2019-08-27 00:37:13 +03:00
libprofiler_builtins Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc Remove hashing impls for LocalInternedString. 2019-09-04 14:41:07 +10:00
librustc_apfloat rustc_apfloat: make the crate #![no_std] explicitly. 2019-08-28 11:24:04 +03:00
librustc_asan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_ast_borrowck Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_codegen_llvm Remove LocalInternedString uses from librustc_codegen_llvm. 2019-09-04 14:23:45 +10:00
librustc_codegen_ssa Remove LocalInternedString uses from librustc_codegen_llvm. 2019-09-04 14:23:45 +10:00
librustc_codegen_utils Remove LocalInternedString uses from librustc/ty/. 2019-09-04 14:23:30 +10:00
librustc_data_structures Rollup merge of #62744 - llogiq:tiny-list-refactor, r=eddyb 2019-08-25 02:44:58 +02:00
librustc_driver Auto merge of #63827 - andjo403:out-of-process-rustc-in-rustdoc, r=Mark-Simulacrum 2019-08-30 10:25:26 +00:00
librustc_errors Use saturating_sub 2019-08-31 13:42:53 -07:00
librustc_fs_util Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_incremental Fix incremental tests 2019-08-23 21:36:57 -04:00
librustc_interface Allow running rustdoc on proc-macro crates without specifying '--crate-type proc-macro' 2019-08-28 18:00:36 -04:00
librustc_lexer remove composite tokens support from the lexer 2019-08-19 21:59:09 +03:00
librustc_lint Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
librustc_llvm Rollup merge of #63621 - jgalenson:dndebug, r=alexcrichton 2019-08-17 11:13:47 +02:00
librustc_lsan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_macros Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
librustc_metadata Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
librustc_mir Remove LocalInternedString::get. 2019-09-04 14:40:23 +10:00
librustc_msan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_passes Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_plugin Restore the rustc_plugin crate in the sysroot 2019-08-20 13:30:50 +02:00
librustc_privacy review comments 2019-08-21 16:11:01 -07:00
librustc_resolve Rollup merge of #63867 - petrochenkov:dhelpers, r=matthewjasper 2019-08-29 13:17:52 +02:00
librustc_save_analysis Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_target Rollup merge of #63604 - Wind-River:master, r=alexcrichton 2019-08-16 18:22:28 +02:00
librustc_traits Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
librustc_tsan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_typeck Remove LocalInternedString uses from librustc_typeck. 2019-09-03 15:48:14 +10:00
librustdoc Rollup merge of #64032 - andjo403:codegen-units, r=Mark-Simulacrum 2019-09-01 11:39:28 +02:00
libserialize Use associated_type_bounds where applicable - closes #61738 2019-08-08 22:39:15 +02:00
libstd Rollup merge of #64039 - pickfire:patch-1, r=jonas-schievink 2019-09-01 11:39:29 +02:00
libsyntax Auto merge of #63402 - estebank:strip-margin, r=oli-obk 2019-08-30 06:49:15 +00:00
libsyntax_ext Auto merge of #63127 - kper:pr, r=nikomatsakis 2019-08-28 03:42:00 +00:00
libsyntax_pos Add Symbol::{with,with2}. 2019-09-04 15:21:33 +10:00
libterm bootstrap: Merge the libtest build step with libstd 2019-08-23 16:46:11 -07:00
libtest Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg 2019-08-27 08:17:48 +02:00
libunwind Rollup merge of #63595 - semarie:openbsd-sparc64, r=alexcrichton 2019-08-16 18:22:26 +02:00
llvm-emscripten@7f23313edf
llvm-project@48818e9f5d Update LLVM submodule 2019-08-09 19:17:18 +02:00
rtstartup
rustc
rustllvm
stdarch@4791ba85e7
test Auto merge of #63870 - estebank:async-fn-call, r=oli-obk 2019-09-01 18:04:49 +00:00
tools Auto merge of #63975 - topecongiro:rustfmt-1.4.6, r=nikomatsakis 2019-08-31 01:35:10 +00:00
README.md doc: the content has since been moved to the guide 2019-08-06 03:03:45 +02:00
stage0.txt Bump to 1.39 2019-08-13 07:16:04 -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.