rust/src
Mark Rousskov d45ce5aed6 Inline catching panics into std::catch_unwind
This allows LLVM to inline the happy path, such that catching unwinding is
zero-cost when no panic occurs. This also allows us to match the code generated
by C++ try/catch.
2020-03-02 11:43:06 +00:00
..
bootstrap Rollup merge of #69549 - mati865:mingw, r=kennytm 2020-03-01 19:28:07 +09:00
build_helper
ci
doc Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
etc
liballoc clarify alignment requirements in Vec::from_raw_parts 2020-02-29 14:07:20 +01:00
libarena
libcore Rollup merge of #69582 - RalfJung:vec-parts, r=Centril 2020-02-29 18:54:04 +01:00
libfmt_macros
libgraphviz
libpanic_abort Inline catching panics into std::catch_unwind 2020-03-02 11:43:06 +00:00
libpanic_unwind Inline catching panics into std::catch_unwind 2020-03-02 11:43:06 +00:00
libproc_macro
libprofiler_builtins
librustc Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_apfloat
librustc_ast Make it build again 2020-02-29 20:47:10 +03:00
librustc_ast_lowering Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_ast_passes Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_ast_pretty Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_attr Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_builtin_macros Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_codegen_llvm Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_codegen_ssa Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_codegen_utils Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_data_structures use is_empty() instead of len() == x to determine if structs are empty. 2020-02-28 15:16:27 +01:00
librustc_driver Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_error_codes Wording improvement 2020-02-28 16:01:04 +01:00
librustc_errors Auto merge of #69570 - Dylan-DPC:rollup-d6boczt, r=Dylan-DPC 2020-02-29 10:43:32 +00:00
librustc_expand Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_feature Revert "Mark attributes consumed by check_mod_attrs as normal" 2020-02-27 00:00:00 +00:00
librustc_fs_util
librustc_hir Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_incremental Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_index
librustc_infer Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
librustc_interface Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_lexer
librustc_lint Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
librustc_llvm use char instead of &str for single char patterns 2020-02-27 14:57:22 +01:00
librustc_macros librustc_macros: remove redundant single component path import 2020-02-24 14:56:30 +01:00
librustc_metadata Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_mir Auto merge of #69606 - JohnTitor:rollup-i3nrrcf, r=JohnTitor 2020-03-01 11:03:16 +00:00
librustc_mir_build Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_parse Rollup merge of #69579 - petrochenkov:noprevspan, r=Centril 2020-03-01 19:28:10 +09:00
librustc_passes Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_plugin_impl Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_privacy Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
librustc_resolve Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
librustc_save_analysis Rollup merge of #69605 - JohnTitor:opt-def-id, r=petrochenkov 2020-03-01 19:28:15 +09:00
librustc_session Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_span Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
librustc_target Rollup merge of #69549 - mati865:mingw, r=kennytm 2020-03-01 19:28:07 +09:00
librustc_traits Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
librustc_ty
librustc_typeck Rollup merge of #69583 - LeSeulArtichaut:ice-69378, r=Centril 2020-03-01 19:28:13 +09:00
librustdoc Auto merge of #69592 - petrochenkov:nosyntax, r=Centril 2020-03-01 01:36:58 +00:00
libserialize
libstd Inline catching panics into std::catch_unwind 2020-03-02 11:43:06 +00:00
libterm
libtest Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril 2020-03-01 19:28:12 +09:00
libunwind
llvm-project@9f65ad0573 update llvm to silence gcc 9 warnings 2020-02-26 10:27:01 +08:00
rtstartup
rustc
rustllvm
stdarch@dea57529b3
test Rollup merge of #69605 - JohnTitor:opt-def-id, r=petrochenkov 2020-03-01 19:28:15 +09:00
tools Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
README.md
stage0.txt

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.