rust/src
Alex Crichton b7a604ab34 rustbuild: Distribute libLLVM.so with rustc
A recent change (#53245) started to build LLVM with ThinLTO enabled and to
ensure that compile times are kept down it builds LLVM dynamically by default to
ensure that all the various LLVM tools aren't redoing all that optimization
work. This means, however, that all LLVM tools depend on LLVM's dynamic library
by default.

While the LLVM tools and LLDB components were updated to include the shared
library we accidentally forgot about LLD, included with the main rustc
component. LLD also links dynamically to LLVM and ships a non-working binary
right now because of this!

This commit updates our distribution to ship the LLVM dynamic library with the
compiler libraries.  While not technically needed for rustc itself to operate
(right now) it may be needed for LLD, and otherwise it serves as a good basis
for the other LLVM tools components to work with as well.

This should...

Closes #53813
2018-08-30 09:43:15 -07:00
..
bootstrap rustbuild: Distribute libLLVM.so with rustc 2018-08-30 09:43:15 -07:00
build_helper Deny bare_trait_objects globally 2018-07-25 10:25:29 +09:00
ci Auto merge of #53245 - michaelwoerister:thinlto-rust-llvm, r=alexcrichton 2018-08-29 10:55:27 +00:00
dlmalloc@c99638dc2e
doc Auto merge of #53619 - japaric:panic-handler, r=SimonSapin 2018-08-26 04:02:19 +00:00
etc Exec gdb and lldb in rust-* wrappers 2018-08-19 00:00:00 +02:00
grammar
jemalloc@1f5a28755e
liballoc Auto merge of #53564 - MaloJaffre:vecdeque, r=gnzlbg 2018-08-29 20:08:16 +00:00
liballoc_jemalloc Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
liballoc_system check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libarena check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libbacktrace@f4d02bbdbf
libcompiler_builtins@d549d85b17 Update LLVM submodule to 7.0 2018-08-04 17:30:14 -07:00
libcore Auto merge of #53227 - nivkner:pin_move, r=RalfJung 2018-08-27 22:56:15 +00:00
libfmt_macros check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libgraphviz check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
liblibc@1844a772b6 Update libc to include Fuchsia fixes 2018-08-24 11:52:49 -07:00
libpanic_abort Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
libpanic_unwind check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libproc_macro check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libprofiler_builtins check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc Auto merge of #53757 - oli-obk:validation, r=RalfJung 2018-08-30 10:41:41 +00:00
librustc_allocator Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
librustc_apfloat check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_asan check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_borrowck Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_codegen_llvm Auto merge of #53642 - alexcrichton:fix-target-cpu-native, r=arielb1 2018-08-29 02:08:02 +00:00
librustc_codegen_utils Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_cratesio_shim check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_data_structures Remove AccumulateVec and its uses. 2018-08-29 08:32:11 +10:00
librustc_driver Remove Node* prefix from AnnNode 2018-08-27 21:45:46 +01:00
librustc_errors Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
librustc_fs_util Move path2cstr to rustc_fs_util 2018-08-09 10:00:25 -06:00
librustc_incremental Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_lint Generalize async_idents to all new keywords 2018-08-29 09:34:53 -07:00
librustc_llvm check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_lsan check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_metadata Auto merge of #53711 - arielb1:macro-table, r=michaelwoerister 2018-08-29 08:42:20 +00:00
librustc_metadata_utils Move unused trait functions to inherent functions 2018-08-03 11:44:09 -06:00
librustc_mir Auto merge of #53733 - nnethercote:avoid-unroll_place, r=nikomatsakis 2018-08-30 08:20:20 +00:00
librustc_msan check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_passes Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_platform_intrinsics check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_plugin check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_privacy Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_resolve Auto merge of #51456 - qmx:crate-in-path, r=nikomatsakis 2018-08-27 19:51:01 +00:00
librustc_save_analysis Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
librustc_target Auto merge of #53679 - japaric:cortex-r, r=alexcrichton 2018-08-28 16:23:27 +00:00
librustc_traits Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
librustc_tsan check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
librustc_typeck Don't emit "unused extern crate" warnings for extern crate foo as _; 2018-08-29 08:53:54 -07:00
librustdoc Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
libserialize check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libstd Auto merge of #53404 - oconnor663:current_dir_behavior, r=alexcrichton 2018-08-28 03:22:21 +00:00
libsyntax Remove Node* prefix from AnnNode 2018-08-27 21:45:46 +01:00
libsyntax_ext check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libsyntax_pos Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
libterm check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
libtest Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis 2018-08-27 17:42:45 +00:00
libunwind check that adding infer-outlives requirement to all crates works 2018-08-24 17:10:50 -04:00
llvm@e19f07f5a6 Update LLVM submodule to 7.0 2018-08-04 17:30:14 -07:00
llvm-emscripten@2717444753
rtstartup
rustc Update libc and activate align feature 2018-08-08 10:52:10 +02:00
rustllvm Fix warnings about the native target-cpu 2018-08-28 13:32:11 -07:00
stdsimd@05c2f61c38 update the stdsimd submodule 2018-07-24 11:08:11 -05:00
test Auto merge of #53757 - oli-obk:validation, r=RalfJung 2018-08-30 10:41:41 +00:00
tools Add more features to the workspace so that all tools pick up on it 2018-08-29 13:17:48 +02:00
Cargo.lock Update clippy submodule 2018-08-29 13:15:55 +02:00
Cargo.toml Update Cargo submodule 2018-08-02 18:09:19 -07:00
README.md
stage0.txt Switch to bootstrapping from 1.29 beta 2018-08-01 11:59:08 -06: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: