rust/src
bors c88992d001 Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton
Add some groundwork for cross-language LTO.

Implements part of #49879:
- Adds a `-Z cross-lang-lto` flag to rustc
- Makes sure that bitcode is embedded in object files if the flag is set.

This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet.

r? @alexcrichton
2018-05-07 08:41:07 +00:00
..
bootstrap Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
build_helper
ci Auto merge of #50444 - michaelwoerister:check-parallel-queries-in-ci, r=alexcrichton 2018-05-05 21:09:56 +00:00
dlmalloc@c99638dc2e
doc Update books for the next release. 2018-05-05 19:02:13 -04:00
etc
grammar
jemalloc@1f5a28755e
liballoc
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcompiler_builtins@2a2f6d96c8
libcore Added some simple documentation. 2018-05-06 03:29:19 +08:00
libfmt_macros
libgraphviz
liblibc@a7e78a78e1
libpanic_abort
libpanic_unwind
libproc_macro proc_macro: Explicitly make everything !Send/Sync 2018-05-04 14:12:57 -07:00
libprofiler_builtins
librustc Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
librustc_allocator
librustc_apfloat
librustc_asan
librustc_borrowck Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustc_cratesio_shim
librustc_data_structures
librustc_driver make it compile again 2018-05-02 12:05:13 +02:00
librustc_errors
librustc_incremental make it compile again 2018-05-02 12:05:13 +02:00
librustc_lint in which the must-use additional messaging is tucked into a note 2018-05-06 21:51:23 -07:00
librustc_llvm
librustc_lsan
librustc_metadata
librustc_mir issue-49938: Reference tagged unions discr(iminant) as tag 2018-05-06 14:52:38 +12:00
librustc_msan
librustc_passes Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustc_platform_intrinsics
librustc_plugin Misc tweaks 2018-05-05 20:36:46 +02:00
librustc_privacy
librustc_resolve Auto merge of #50030 - flip1995:rfc2103, r=petrochenkov 2018-05-03 11:52:03 +00:00
librustc_save_analysis
librustc_target issue-49938: Reference tagged unions discr(iminant) as tag 2018-05-06 14:52:38 +12:00
librustc_traits Conservatively assume dropping a generator touches its upvars, via locals' dtors. 2018-05-01 22:28:54 +02:00
librustc_trans Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
librustc_trans_utils
librustc_tsan
librustc_typeck Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustdoc Auto merge of #50419 - sinkuu:rustdoc_nested_impl_trait, r=QuietMisdreavus 2018-05-05 03:36:09 +00:00
libserialize
libstd Some final touches to ensure ./x.py test --stage 0 src/lib* works 2018-05-06 02:34:07 +08:00
libstd_unicode
libsyntax Fix assertion message generation 2018-05-06 12:13:32 +09:00
libsyntax_ext Fix assertion message generation 2018-05-06 12:13:32 +09:00
libsyntax_pos Always inline simple BytePos and CharPos methods. 2018-05-03 13:25:18 +10:00
libterm
libtest
libunwind
llvm@7243155b1c
llvm-emscripten@2717444753
rtstartup
rustc
rustllvm
stdsimd@1ea18a5cb4
test Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
tools Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
Cargo.lock Misc tweaks 2018-05-05 20:36:46 +02:00
Cargo.toml
README.md
stage0.txt

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: