rust/src
Jim Blandy d0b84e9a8b Doc fixes for core::future::Future.
Fixed outdated reference to `waker` argument; now futures are passed a
`Context`, from which one can obtain a `waker`.

Cleaned up explanation of what happens when you call `poll` on a completed
future. It doesn't make sense to say that `poll` implementations can't cause
memory unsafety; no safe function is ever allowed to cause memory unsafety, so
why mention it here? It seems like the intent is to say that the `Future` trait
doesn't say what the consequences of excess polls will be, and they might be
bad; but that the usual constraints that Rust imposes on any non-`unsafe`
function still apply. It's also oddly specific to say 'memory corruption'
instead of just 'undefined behavior'; UB is a bit jargony, so the text should
provide examples.
2019-04-19 19:10:24 -07:00
..
bootstrap Rollup merge of #60003 - petrhosek:llvm-lto-lld, r=cramertj 2019-04-17 10:31:36 +02:00
build_helper rustc: doc comments 2019-02-10 23:42:32 +00:00
ci Auto merge of #59926 - pietroalbini:android-sdk-manager, r=alexcrichton 2019-04-15 19:24:35 +00:00
doc Rename files in doc 2019-04-18 06:20:07 +09:00
etc rust-lldb: fix crash when printing empty string 2019-03-06 12:28:38 -05:00
grammar
liballoc Auto merge of #60072 - RalfJung:linked-list, r=shepmaster 2019-04-19 17:12:17 +00:00
libarena Deny internal in stage0 2019-04-17 05:15:00 +02:00
libcore Doc fixes for core::future::Future. 2019-04-19 19:10:24 -07:00
libfmt_macros Deny internal in stage0 2019-04-17 05:15:00 +02:00
libgraphviz Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton 2019-02-12 23:30:16 +00:00
libpanic_abort SGX target: fix panic = abort 2019-02-14 12:39:54 +05:30
libpanic_unwind Stabilize the alloc crate. 2019-04-12 20:07:30 +02:00
libproc_macro proc_macro: stop using LEB128 for RPC. 2019-04-09 21:05:15 +03:00
libprofiler_builtins Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc Auto merge of #60063 - spastorino:place2_2, r=oli-obk 2019-04-19 09:57:26 +00:00
librustc_allocator Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_apfloat Stabilize TryFrom and TryInto 2019-02-13 18:00:18 +01:00
librustc_asan Update cmake, cc and compiler_builtins for VS 2019 support 2019-04-10 21:17:31 +02:00
librustc_borrowck Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
librustc_codegen_llvm Rollup merge of #60097 - cuviper:llvm8-mergefunc-use-aliases, r=rkruppe 2019-04-19 06:03:29 +02:00
librustc_codegen_ssa Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
librustc_codegen_utils Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_cratesio_shim librustc_cratesio_shim => 2018 2019-02-08 20:55:12 +09:00
librustc_data_structures Rollup merge of #59648 - alex:must-use-result, r=alexcrichton 2019-04-15 18:23:39 +02:00
librustc_driver Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_errors hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
librustc_fs_util rustc: doc comments 2019-02-10 23:42:32 +00:00
librustc_incremental Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_interface hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
librustc_lint Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
librustc_llvm Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_lsan Update cmake, cc and compiler_builtins for VS 2019 support 2019-04-10 21:17:31 +02:00
librustc_macros Promote regular comments to rustdoc comments 2019-04-17 12:03:39 +03:00
librustc_metadata Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
librustc_mir Auto merge of #60063 - spastorino:place2_2, r=oli-obk 2019-04-19 09:57:26 +00:00
librustc_msan Update cmake, cc and compiler_builtins for VS 2019 support 2019-04-10 21:17:31 +02:00
librustc_passes Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
librustc_plugin Rename modules 2019-04-17 18:21:34 +09:00
librustc_privacy Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
librustc_resolve remove duplicated code and simplify logic 2019-04-19 10:13:45 -07:00
librustc_save_analysis Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_target Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_traits Deny internal in stage0 2019-04-17 05:15:00 +02:00
librustc_tsan Update cmake, cc and compiler_builtins for VS 2019 support 2019-04-10 21:17:31 +02:00
librustc_typeck Auto merge of #60073 - rchaser53:issue-60049, r=estebank 2019-04-19 07:03:12 +00:00
librustdoc Rollup merge of #60032 - rust-lang:remove-unwanted-z-index, r=QuietMisdreavus 2019-04-19 06:03:13 +02:00
libserialize Remove useless ?Sized bound 2019-04-10 03:58:13 +02:00
libstd Rollup merge of #60078 - matklad:patch-1, r=shepmaster 2019-04-19 06:03:24 +02:00
libsyntax Some cleanup to maybe_parse_struct_expr 2019-04-19 10:32:44 -07:00
libsyntax_ext Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
libsyntax_pos Deny internal in stage0 2019-04-17 05:15:00 +02:00
libterm Revert "Auto merge of #57842 - gnzlbg:extract_libtest, r=gnzlbg" 2019-04-07 03:16:31 -04:00
libtest Revert "Auto merge of #57842 - gnzlbg:extract_libtest, r=gnzlbg" 2019-04-07 03:16:31 -04:00
libunwind Support using LLVM's libunwind as the unwinder implementation 2019-04-03 11:21:40 -07:00
llvm-emscripten@7f23313edf
llvm-project@84abffda0e Support using LLVM's libunwind as the unwinder implementation 2019-04-03 11:21:40 -07:00
rtstartup
rustc Update jemalloc-sys to version 0.3.0 2019-03-26 11:03:19 +01:00
rustllvm Remove the unused LLVMRustIsRustLLVM 2019-04-18 15:28:18 -07:00
stdsimd@45f8450916 Update stdsimd 2019-04-18 14:51:11 +09:00
test Some cleanup to maybe_parse_struct_expr 2019-04-19 10:32:44 -07:00
tools Rollup merge of #60082 - TimDiekmann:master, r=RalfJung 2019-04-19 06:03:27 +02:00
.gitignore
README.md
stage0.txt bump bootstrap => 2019-04-11 2019-04-17 05:15:00 +02: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: