rust/src
kennytm 519651acca
Rollup merge of #52508 - joshtriplett:dangling-not-sentinel, r=Mark-Simulacrum
Document that Unique::empty() and NonNull::dangling() aren't sentinel values

The documentation of Unique::empty() and NonNull::dangling() could
potentially suggest that they work as sentinel values indicating a
not-yet-initialized pointer. However, they both declare a non-null
pointer equal to the alignment of the type, which could potentially
reference a valid value of that type (specifically, the first such valid
value in memory). Explicitly document that the return value of these
functions does not work as a sentinel value.
2018-07-22 22:10:13 +08:00
..
bootstrap Rollup merge of #52465 - sekineh:add-ci-thumb, r=alexcrichton 2018-07-22 22:10:10 +08:00
build_helper Don't build twice the sanitizers on Linux 2018-07-18 07:44:11 -07:00
ci Rollup merge of #52465 - sekineh:add-ci-thumb, r=alexcrichton 2018-07-22 22:10:10 +08:00
dlmalloc@c99638dc2e
doc Rollup merge of #52338 - RalfJung:miri, r=oli-obk 2018-07-17 19:24:50 +08:00
etc Enable default inlining in platform intrinsics 2018-07-16 14:36:00 +02:00
grammar
jemalloc@1f5a28755e
liballoc Rollup merge of #51807 - newpavlov:deprecate_str_slice, r=alexcrichton 2018-07-22 22:10:09 +08:00
liballoc_jemalloc Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
liballoc_system Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
libarena Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
libbacktrace@f4d02bbdbf Replace libbacktrace with a submodule 2018-05-30 05:58:23 -07:00
libcompiler_builtins@b4a3645cfe update compiler-builtins for openbsd 2018-07-18 10:38:56 -07:00
libcore Rollup merge of #52508 - joshtriplett:dangling-not-sentinel, r=Mark-Simulacrum 2018-07-22 22:10:13 +08:00
libfmt_macros fix test 2018-07-21 20:48:15 -07:00
libgraphviz Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
liblibc@b6d23ed45d Update liblibc 2018-07-01 20:23:41 +02:00
libpanic_abort Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
libpanic_unwind Deny bare trait objects in in src/libpanic_unwind 2018-07-11 17:11:08 +02:00
libproc_macro proc_macro: avoid exposing internal details in formatting impls. 2018-07-20 06:27:16 +03:00
libprofiler_builtins Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
librustc Rollup merge of #52507 - estebank:infer-type, r=nikomatsakis 2018-07-22 22:10:11 +08:00
librustc_allocator Deny bare trait objects in in src/librustc_allocator 2018-07-11 12:08:49 +02:00
librustc_apfloat Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
librustc_asan Don't build twice the sanitizers on Linux 2018-07-18 07:44:11 -07:00
librustc_borrowck TyKind 2018-07-16 15:09:17 +02:00
librustc_codegen_llvm Auto merge of #52438 - ljedrz:rustc_vec_capacity, r=eddyb 2018-07-21 00:55:46 +00:00
librustc_codegen_utils Deny bare trait objects in in src/librustc_codegen_utils 2018-07-11 17:39:49 +02:00
librustc_cratesio_shim
librustc_data_structures Auto merge of #52250 - nnethercote:no-SparseBitMatrix, r=nikomatsakis 2018-07-22 02:43:57 +00:00
librustc_driver Auto merge of #52197 - euclio:exit-code, r=oli-obk 2018-07-19 13:46:15 +00:00
librustc_errors Auto merge of #51485 - estebank:dehighlight-secondary-msgs, r=GuillaumeGomez 2018-07-21 23:50:28 +00:00
librustc_incremental Implement existential types 2018-07-18 10:53:08 +02:00
librustc_lint Auto merge of #52024 - oli-obk:existential_parse, r=nikomatsakis 2018-07-19 21:14:01 +00:00
librustc_llvm rustc: Remove a workaroudn in ThinLTO fixed upstream 2018-07-18 11:37:56 -07:00
librustc_lsan Don't build twice the sanitizers on Linux 2018-07-18 07:44:11 -07:00
librustc_metadata Auto merge of #52552 - eddyb:proc-macro-prep, r=alexcrichton 2018-07-21 08:31:32 +00:00
librustc_mir Auto merge of #52359 - matthewjasper:combine-move-error-reporting, r=pnkfelix 2018-07-22 08:52:05 +00:00
librustc_msan Don't build twice the sanitizers on Linux 2018-07-18 07:44:11 -07:00
librustc_passes ExprKind 2018-07-16 15:09:16 +02:00
librustc_platform_intrinsics Enable default inlining in platform intrinsics 2018-07-16 14:36:00 +02:00
librustc_plugin ItemKind 2018-07-16 15:09:17 +02:00
librustc_privacy Implement existential types 2018-07-18 10:53:08 +02:00
librustc_resolve resolve: Add more comments to in-module resolution 2018-07-20 12:22:25 +03:00
librustc_save_analysis Match ergonomics 2018-07-18 10:53:10 +02:00
librustc_target Auto merge of #52032 - DiamondLovesYou:amdgpu-kernel-abi, r=alexcrichton 2018-07-14 00:12:21 +00:00
librustc_traits Convert implied_outlives_bounds to a query 2018-07-21 15:56:44 +03:00
librustc_tsan Don't build twice the sanitizers on Linux 2018-07-18 07:44:11 -07:00
librustc_typeck Auto merge of #52438 - ljedrz:rustc_vec_capacity, r=eddyb 2018-07-21 00:55:46 +00:00
librustdoc Auto merge of #52368 - GuillaumeGomez:intra_doc_link_resolution_failure-documented, r=QuietMisdreavus 2018-07-22 10:48:15 +00:00
libserialize Remove most of PartialEq impls from AST and HIR structures 2018-07-14 14:56:57 +03:00
libstd Auto merge of #52394 - estebank:println, r=oli-obk 2018-07-22 06:52:48 +00:00
libstd_unicode
libsyntax Auto merge of #52394 - estebank:println, r=oli-obk 2018-07-22 06:52:48 +00:00
libsyntax_ext fix logic bug 2018-07-21 17:17:49 -07:00
libsyntax_pos Auto merge of #52024 - oli-obk:existential_parse, r=nikomatsakis 2018-07-19 21:14:01 +00:00
libterm migrate codebase to ..= inclusive range patterns 2018-06-26 07:53:30 -07:00
libtest Deny bare trait objects in librustc_target and libtest 2018-07-12 13:26:29 +02:00
libunwind Deny bare trait objects in the rest of rust 2018-07-12 13:50:22 +02:00
llvm@0368490510 Upgrade to LLVM's master branch (LLVM 7) 2018-07-10 13:43:01 -07:00
llvm-emscripten@2717444753
rtstartup
rustc
rustllvm rustc: Remove a workaroudn in ThinLTO fixed upstream 2018-07-18 11:37:56 -07:00
stdsimd@b9de11ab43 Update stdsimd to undo an accidental stabilization 2018-07-20 22:34:09 -07:00
test Rollup merge of #52507 - estebank:infer-type, r=nikomatsakis 2018-07-22 22:10:11 +08:00
tools Don't invent new magic keywords 2018-07-21 12:36:18 +02:00
Cargo.lock Remove dependency on libsyntax 2018-07-21 16:18:06 -07:00
Cargo.toml Auto merge of #52388 - oli-obk:clippy, r=Manishearth 2018-07-15 00:29:43 +00:00
README.md rustc: rename ty::maps to ty::query. 2018-06-14 18:05:12 +03:00
stage0.txt Bump bootstrap compiler to 1.28.0-beta.10 2018-07-13 19:33:48 +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.

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: