rust/src
bors 329dde57fd Auto merge of #53524 - alexcrichton:buffer-out, r=eddyb
Buffer LLVM's object output stream

In some profiling on OSX I saw the `write` syscall as quite high up on
the profiling graph, which is definitely not good! It looks like we're
setting the output stream of an object file as directly to a file
descriptor which means that we run the risk of doing lots of little
writes rather than a few large writes.

This commit fixes this issue by adding a buffered stream on the output,
causing the `write` syscall to disappear from the profiles on OSX.
2018-08-22 13:16:32 +00:00
..
bootstrap Use the new Entry::or_default method where possible. 2018-08-18 20:19:45 +03:00
build_helper Deny bare_trait_objects globally 2018-07-25 10:25:29 +09:00
ci Fix typos found by codespell. 2018-08-19 17:41:28 +02:00
dlmalloc@c99638dc2e
doc Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor 2018-08-21 17:51:49 +08:00
etc Exec gdb and lldb in rust-* wrappers 2018-08-19 00:00:00 +02:00
grammar
jemalloc@1f5a28755e
liballoc Auto merge of #53530 - kennytm:rollup, r=kennytm 2018-08-21 16:04:11 +00:00
liballoc_jemalloc liballoc_jemalloc: enable feature(nll) for bootstrap 2018-08-09 01:50:37 -04:00
liballoc_system Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00
libarena Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00
libbacktrace@f4d02bbdbf
libcompiler_builtins@d549d85b17 Update LLVM submodule to 7.0 2018-08-04 17:30:14 -07:00
libcore Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
libfmt_macros Fix typos found by codespell. 2018-08-19 17:41:28 +02:00
libgraphviz A few cleanups for fmt_macros, graphviz, apfloat, target, serialize and term 2018-08-11 20:56:29 +02:00
liblibc@6bdbf5dc93 Update libc and activate align feature 2018-08-08 10:52:10 +02:00
libpanic_abort [nll] libpanic_abort: enable feature(nll) for bootstrap 2018-08-09 06:48:53 -04:00
libpanic_unwind Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
libproc_macro Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor 2018-08-21 17:51:49 +08:00
libprofiler_builtins [nll] libprofiler_builtins: enable feature(nll) for bootstrap 2018-08-09 09:20:20 -04:00
librustc optimize creating a stack frame 2018-08-22 13:08:39 +02:00
librustc_allocator mv (mod) codemap source_map 2018-08-19 23:01:00 +02:00
librustc_apfloat Two small improvements 2018-08-15 13:54:47 +02:00
librustc_asan [nll] librustc_asan: enable feature(nll) for bootstrap 2018-08-09 04:08:17 -04:00
librustc_borrowck mv codemap() source_map() 2018-08-19 23:01:01 +02:00
librustc_codegen_llvm miri/CTFE refactor 2018-08-22 09:06:28 +02:00
librustc_codegen_utils Remove LinkMeta struct 2018-08-18 12:08:06 +02:00
librustc_cratesio_shim [nll] librustc_cratesio_shim: enable feature(nll) for bootstrap 2018-08-09 06:50:25 -04:00
librustc_data_structures Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
librustc_driver mv codemap source_map 2018-08-19 23:01:01 +02:00
librustc_errors fix tidy errors 2018-08-19 23:01:01 +02:00
librustc_fs_util Move path2cstr to rustc_fs_util 2018-08-09 10:00:25 -06:00
librustc_incremental mv codemap() source_map() 2018-08-19 23:01:01 +02:00
librustc_lint optimize sanity check path printing 2018-08-22 13:08:39 +02:00
librustc_llvm [nll] librustc_llvm: enable feature(nll) for bootstrap 2018-08-09 15:33:24 -04:00
librustc_lsan [nll] librustc_lsan: enable feature(nll) for bootstrap 2018-08-09 15:33:50 -04:00
librustc_metadata Auto merge of #53530 - kennytm:rollup, r=kennytm 2018-08-21 16:04:11 +00:00
librustc_metadata_utils Move unused trait functions to inherent functions 2018-08-03 11:44:09 -06:00
librustc_mir fix error reporting in validation 2018-08-22 13:08:40 +02:00
librustc_msan [nll] librustc_msan: enable feature(nll) for bootstrap 2018-08-09 15:34:05 -04:00
librustc_passes Auto merge of #51880 - varkor:generics-hir-generalisation-followup, r=eddyb 2018-08-20 15:47:39 +00:00
librustc_platform_intrinsics [nll] librustc_platform_intrinsics: enable feature(nll) for bootstrap 2018-08-09 15:34:31 -04:00
librustc_plugin [nll] librustc_plugin: enable feature(nll) for bootstrap 2018-08-09 04:09:29 -04:00
librustc_privacy Address minor comments 2018-08-19 20:02:32 +01:00
librustc_resolve Auto merge of #53516 - petrochenkov:derregr, r=estebank 2018-08-22 09:03:25 +00:00
librustc_save_analysis Auto merge of #51880 - varkor:generics-hir-generalisation-followup, r=eddyb 2018-08-20 15:47:39 +00:00
librustc_target Auto merge of #52101 - japaric:linker-flavor, r=alexcrichton 2018-08-20 01:12:58 +00:00
librustc_traits Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor 2018-08-21 17:51:49 +08:00
librustc_tsan [nll] librustc_tsan: enable feature(nll) for bootstrap 2018-08-09 04:11:06 -04:00
librustc_typeck miri/CTFE refactor 2018-08-22 09:06:28 +02:00
librustdoc Auto merge of #53439 - GuillaumeGomez:generate-blanket-impls-for-reexported-items, r=QuietMisdreavus 2018-08-21 22:48:21 +00:00
libserialize Rollup merge of #53393 - BurntPizza:serialize-inlines, r=alexcrichton 2018-08-21 17:51:40 +08:00
libstd Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
libsyntax Auto merge of #50912 - varkor:exhaustive-integer-matching, r=arielb1 2018-08-22 00:57:00 +00:00
libsyntax_ext Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor 2018-08-21 17:51:49 +08:00
libsyntax_pos Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor 2018-08-21 17:51:49 +08:00
libterm A few cleanups for fmt_macros, graphviz, apfloat, target, serialize and term 2018-08-11 20:56:29 +02:00
libtest Rollup merge of #52453 - srijs:fix-52436, r=TimNN 2018-08-15 19:20:19 +02:00
libunwind [nll] libunwind: enable feature(nll) for bootstrap 2018-08-09 06:52:12 -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 Buffer LLVM's object output stream 2018-08-19 23:46:32 -07:00
stdsimd@05c2f61c38 update the stdsimd submodule 2018-07-24 11:08:11 -05:00
test Auto merge of #53424 - RalfJung:miri-refactor, r=oli-obk 2018-08-22 11:11:14 +00:00
tools Rollup merge of #53492 - danc86:lld-riscv, r=alexcrichton 2018-08-21 17:51:48 +08:00
Cargo.lock rustc_resolve: don't allow paths starting with ::crate. 2018-08-17 12:59:56 +03: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: