rust/src
Alex Crichton d3939322e3 rustc: Clean up allocator injection logic
This commit cleans up allocator injection logic found in the compiler
around selecting the global allocator. It turns out that now that
jemalloc is gone the compiler never actually injects anything! This
means that basically everything around loading crates here and there can
be easily pruned.

This also removes the `exe_allocation_crate` option from custom target
specs as it's no longer used by the compiler anywhere.
2018-11-11 09:22:28 -08:00
..
bootstrap Auto merge of #55626 - nikic:update-emscripten, r=alexcrichton 2018-11-10 01:16:02 +00:00
build_helper Prefer unwrap_or_else to unwrap_or in case of function calls/allocations 2018-10-19 09:45:45 +02:00
ci Auto merge of #55626 - nikic:update-emscripten, r=alexcrichton 2018-11-10 01:16:02 +00:00
dlmalloc@c99638dc2e
doc Added section to Unstable Book. 2018-11-03 04:09:34 +00:00
etc Rollup merge of #55441 - xfix:patch-12, r=aturon 2018-11-07 18:01:47 +08:00
grammar
liballoc Fix Rc/Arc allocation layout 2018-11-08 11:50:02 -07:00
liballoc_system rustc: Clean up allocator injection logic 2018-11-11 09:22:28 -08:00
libarena Update TypedArena tests 2018-10-19 14:34:44 +02:00
libbacktrace@f4d02bbdbf
libcompiler_builtins@939cbca6e9 Update compiler-builtins submodule 2018-10-30 10:51:55 -07:00
libcore Rollup merge of #55844 - waywardmonkeys:typo-fixes, r=varkor 2018-11-11 00:21:25 +01:00
libfmt_macros remove padding from multiline format string label 2018-10-03 14:29:39 -04:00
libgraphviz Remove graphviz::IntoCow 2018-10-05 14:16:10 +02:00
liblibc@1844a772b6
libpanic_abort wasm32-unknown-emscripten expects the rust_eh_personality symbol 2018-11-08 03:27:45 +01:00
libpanic_unwind refactor: use shorthand fields 2018-11-06 15:05:44 -05:00
libproc_macro All proc_macro_span APIs tracked at #54725 now 2018-10-01 12:15:35 -07:00
libprofiler_builtins Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc rustc: Clean up allocator injection logic 2018-11-11 09:22:28 -08:00
librustc_allocator Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_apfloat Use SmallVec to avoid allocations in from_decimal_string. 2018-11-09 18:57:18 +11:00
librustc_asan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_borrowck Remove ReCanonical in favor of ReLateBound 2018-11-03 11:41:55 +01:00
librustc_codegen_llvm Auto merge of #54993 - TimNN:pda-tdl, r=eddyb 2018-11-11 03:44:16 +00:00
librustc_codegen_utils codegen_llvm_back: use mem::replace instead of swap where more concise 2018-11-10 19:25:24 +01:00
librustc_cratesio_shim Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_data_structures Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco 2018-11-07 21:27:00 +08:00
librustc_driver Rollup merge of #55495 - wesleywiser:opt_fuel_rustbuild, r=nikomatsakis 2018-11-07 18:01:50 +08:00
librustc_errors rustc: Request ansi colors if stderr isn't a tty 2018-11-08 07:53:03 -08:00
librustc_fs_util
librustc_incremental Prefer Default::default over FxHash*::default in struct constructors 2018-10-19 14:34:44 +02:00
librustc_lint Removed DUPLICATE_ASSOCIATED_TYPE_BINDINGS lint. 2018-11-07 21:57:45 +00:00
librustc_llvm Revert "rustc: Fix (again) simd vectors by-val in ABI" 2018-10-23 00:59:14 -07:00
librustc_lsan Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_metadata rustc: Clean up allocator injection logic 2018-11-11 09:22:28 -08:00
librustc_mir Auto merge of #55674 - oli-obk:miri_engine_refactoring, r=RalfJung 2018-11-11 14:24:39 +00:00
librustc_msan Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_passes Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco 2018-11-07 21:27:00 +08:00
librustc_platform_intrinsics Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_plugin Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_privacy Deprecate the FxHashMap() and FxHashSet() constructor function hack 2018-10-19 14:34:44 +02:00
librustc_resolve Rollup merge of #55630 - petrochenkov:noprelude, r=Centril 2018-11-11 12:32:01 +08:00
librustc_save_analysis Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco 2018-11-07 21:27:00 +08:00
librustc_target rustc: Clean up allocator injection logic 2018-11-11 09:22:28 -08:00
librustc_traits Rollup merge of #55745 - nnethercote:outlives_components-SmallVec, r=matthewjasper 2018-11-11 00:21:12 +01:00
librustc_tsan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_typeck Rollup merge of #55819 - pnkfelix:issue-55810-must-typeck-pats-eagerly, r=oli-obk 2018-11-11 00:21:21 +01:00
librustdoc Rollup merge of #55856 - QuietMisdreavus:static-discharge, r=GuillaumeGomez 2018-11-11 12:34:23 +08:00
libserialize Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
libstd Fix documentation typos. 2018-11-10 19:31:49 +07:00
libsyntax Rollup merge of #55777 - nnethercote:less-P-in-ast, r=petrochenkov 2018-11-08 18:15:19 -07:00
libsyntax_ext syntax: improve a few allocations 2018-10-31 16:58:51 +01:00
libsyntax_pos Rename other occs of (Code/File)Map to Source(Map/File) #51574 2018-10-29 21:26:13 +01:00
libterm Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
libtest add option to libtest to run all tests 2018-10-14 00:58:17 +02:00
libunwind Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
llvm@7051ead40a Fix DWARF generation for enums 2018-10-30 12:06:07 -06:00
llvm-emscripten@7f23313edf Pull in fix for dist-i686-linux build 2018-11-09 16:59:45 +01:00
rtstartup
rustc Use jemalloc-sys on Linux and OSX compilers 2018-11-02 06:52:56 -07:00
rustllvm Auto merge of #55626 - nikic:update-emscripten, r=alexcrichton 2018-11-10 01:16:02 +00:00
stdsimd@0309be1ade Update stdsimd 2018-11-02 14:58:53 +01:00
test Rollup merge of #55630 - petrochenkov:noprelude, r=Centril 2018-11-11 12:32:01 +08:00
tools Auto merge of #55830 - alexcrichton:update-cargo, r=alexcrichton 2018-11-10 12:21:58 +00:00
.gitignore
Cargo.lock Rollup merge of #55816 - nnethercote:from_decimal_string-SmallVec, r=oli-obk 2018-11-11 00:21:20 +01:00
Cargo.toml Use rls-data 0.18.1 2018-09-28 01:54:01 +02:00
README.md
stage0.txt Bump nightly to 1.32.0 2018-10-31 11:53:50 -07: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.

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: