rust/src
kennytm 4f0f1102bf
Rollup merge of #56609 - michaelwoerister:unconditional-target-cpu-attr, r=alexcrichton
Unconditionally emit the target-cpu LLVM attribute.

This PR makes `rustc` always emit the `target-cpu` LLVM attribute for functions. The goal is to allow for cross-language inlining of functions defined in `libstd`. So far `libstd` functions were the only function without a `target-cpu` attribute, so in whole-crate-graph cross-lang LTO scenarios they were not eligible for inlining into foreign code.

r? @alexcrichton
2018-12-14 22:10:04 +08:00
..
bootstrap Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
build_helper std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
ci Build manifest tool on mingw-check builder 2018-12-10 21:43:52 -08:00
doc Auto merge of #56351 - davidtwco:issue-55396-stabilize-linker-flavor, r=nagisa 2018-12-14 00:28:08 +00:00
etc Rollup merge of #56144 - tromey:Bug-55771-btreemap, r=alexcrichton 2018-11-25 17:05:04 +01:00
grammar syntax: Rename some keywords 2018-12-04 00:30:27 +03:00
liballoc Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
libarena Auto merge of #56378 - ljedrz:arena_tweaks, r=nagisa 2018-12-02 11:14:14 +00:00
libbacktrace@f4d02bbdbf
libcore Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
libfmt_macros
libgraphviz Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
libpanic_abort std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
libpanic_unwind std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
libproc_macro Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
libprofiler_builtins std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
librustc_allocator Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
librustc_apfloat Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
librustc_asan std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc_borrowck Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_codegen_llvm Rollup merge of #56609 - michaelwoerister:unconditional-target-cpu-attr, r=alexcrichton 2018-12-14 22:10:04 +08:00
librustc_codegen_ssa Auto merge of #56351 - davidtwco:issue-55396-stabilize-linker-flavor, r=nagisa 2018-12-14 00:28:08 +00:00
librustc_codegen_utils Auto merge of #56578 - alexreg:cosmetic-1, r=alexreg 2018-12-08 03:50:16 +00:00
librustc_cratesio_shim Statically link proc_macro into proc macros. 2018-11-30 06:15:20 +02:00
librustc_data_structures sorted_map: add contains_key function 2018-12-10 14:11:14 +01:00
librustc_driver Replace FileSearch::for_each_lib_search_path with search_paths. 2018-12-12 10:36:15 +11:00
librustc_errors Bump to 1.33.0 2018-12-12 08:09:26 -08:00
librustc_fs_util Rename conversion util; remove duplicate util in librustc_codegen_llvm. 2018-11-29 08:09:28 -05:00
librustc_incremental Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_lint Bump to 1.33.0 2018-12-12 08:09:26 -08:00
librustc_llvm Bump to 1.33.0 2018-12-12 08:09:26 -08:00
librustc_lsan std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc_metadata Remove Session::sysroot(). 2018-12-12 10:36:15 +11:00
librustc_mir Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
librustc_msan std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc_passes Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_platform_intrinsics
librustc_plugin Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_privacy Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_resolve std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc_save_analysis Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_target Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
librustc_traits Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
librustc_tsan std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
librustc_typeck Bump to 1.33.0 2018-12-12 08:09:26 -08:00
librustdoc Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
libserialize Bump to 1.33.0 2018-12-12 08:09:26 -08:00
libstd Auto merge of #56490 - faern:add-checked-add-to-instant, r=alexcrichton 2018-12-14 09:10:35 +00:00
libsyntax Bump to 1.33.0 2018-12-12 08:09:26 -08:00
libsyntax_ext Rollup merge of #56491 - euclio:assert-error, r=estebank 2018-12-10 22:01:57 +01:00
libsyntax_pos Bump to 1.33.0 2018-12-12 08:09:26 -08:00
libterm Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
libtest Auto merge of #56243 - RalfJung:test-deterministic, r=alexcrichton 2018-12-11 14:04:15 +00:00
libunwind std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
llvm@a784eca10d Update LLVM 2018-11-28 16:13:40 +01:00
llvm-emscripten@7f23313edf
rtstartup Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
rustc std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
rustllvm Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister 2018-12-03 11:59:11 +00:00
stdsimd@5e628c5120 Add x86_64-fortanix-unknown-sgx target to libstd and dependencies 2018-12-07 11:26:50 +05:30
test Auto merge of #56351 - davidtwco:issue-55396-stabilize-linker-flavor, r=nagisa 2018-12-14 00:28:08 +00:00
tools Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum 2018-12-14 06:52:19 +00:00
.gitignore
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
stage0.txt Bump to 1.33.0 2018-12-12 08:09:26 -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: