rust/src
Joe Richey 6367b544b7 librustc_middle: Add function for computing unsigned abs
This is tricky to get right if we want to avoid panicking or wrapping.

Signed-off-by: Joe Richey <joerichey@google.com>
2020-05-26 02:06:15 -07:00
..
bootstrap bootstrap: propagate test-args to miri and clippy test suites 2020-05-24 09:45:14 +02:00
build_helper
ci Revert MSYS2 CI workaround 2020-05-22 19:08:39 +02:00
doc Auto merge of #71718 - NeoRaider:ffi_const_pure, r=Amanieu 2020-05-21 15:02:08 +00:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Adjust the zero check in RawVec::grow. 2020-05-20 09:57:14 +10:00
libarena Be less aggressive with DroplessArena/TypedArena growth. 2020-05-13 11:35:32 +10:00
libcore core: Make pointer offset methods "const fn" 2020-05-25 13:09:02 -07:00
libfmt_macros Fix tests 2020-05-18 14:41:34 +01:00
libgraphviz
libpanic_abort Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libpanic_unwind make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
libproc_macro Add test for proc_macro::LineColumn 2020-05-21 17:15:13 -07:00
libprofiler_builtins Require compiler-rt root at ../src/llvm-project/compiler-rt 2020-04-11 17:49:16 -04:00
librustc_apfloat Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_ast_lowering Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_ast_passes Disallow forbidden usage of non-ascii identifiers. 2020-05-17 01:31:18 +08:00
librustc_ast_pretty Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast 2020-05-18 14:41:33 +01:00
librustc_attr Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_builtin_macros Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_codegen_llvm Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_codegen_ssa Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_data_structures Replace rustc_data_structures::sync::Once with OnceCell 2020-05-22 13:26:39 -07:00
librustc_driver Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_error_codes Rollup merge of #72530 - GuillaumeGomez:cleanup-e0602, r=Dylan-DPC 2020-05-24 16:51:32 +02:00
librustc_errors Simplify the error Registry methods a little 2020-05-04 11:52:15 -07:00
librustc_expand Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_feature Implement #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
librustc_fs_util
librustc_hir Use HirId as key for ResolverOutputs::trait_map instead of NodeId 2020-05-21 17:07:47 +01:00
librustc_hir_pretty Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast 2020-05-18 14:41:33 +01:00
librustc_incremental Change WorkProduct::saved_files to an Option. 2020-05-12 17:55:07 +10:00
librustc_index
librustc_infer Document collect_bounding_regions 2020-05-22 18:03:08 +01:00
librustc_interface Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_lexer Replace some usages of the old unescape_ functions in AST, clippy and tests. 2020-05-13 10:05:04 +02:00
librustc_lint introduce newtype'd Predicate<'tcx> 2020-05-20 15:44:34 +02:00
librustc_llvm Don't skip building LLVM if already built 2020-05-02 18:43:55 -04:00
librustc_macros Monomorphise load_from_disk_and_cache_in_memory. 2020-05-01 14:29:35 +02:00
librustc_metadata Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_middle librustc_middle: Add function for computing unsigned abs 2020-05-26 02:06:15 -07:00
librustc_mir librustc_mir: Add back use statement 2020-05-25 13:40:01 -07:00
librustc_mir_build librustc_middle: Rename upvars query to upvars_mentioned 2020-05-24 14:36:39 -04:00
librustc_parse Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_passes Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasper 2020-05-25 11:01:08 +02:00
librustc_plugin_impl Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_privacy introduce newtype'd Predicate<'tcx> 2020-05-20 15:44:34 +02:00
librustc_query_system Rollup merge of #72126 - nnethercote:change-WorkProduct-saved_files, r=alexcrichton 2020-05-14 18:21:50 +02:00
librustc_resolve Rollup merge of #72402 - marmeladema:resolver-outputs-def-id, r=ecstatic-morse 2020-05-24 16:51:28 +02:00
librustc_save_analysis Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_session Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_span librustc_mir: Add support for const fn offset/arith_offset 2020-05-25 13:09:02 -07:00
librustc_symbol_mangling Remove unused dependencies 2020-05-19 14:34:23 -07:00
librustc_target Fix ice-72487 2020-05-23 07:33:09 +01:00
librustc_trait_selection Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasper 2020-05-25 11:01:08 +02:00
librustc_traits Auto merge of #72362 - matthewjasper:remove-rescope, r=nikomatsakis 2020-05-24 04:15:08 +00:00
librustc_ty Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_typeck Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasper 2020-05-25 11:01:08 +02:00
librustdoc Auto merge of #72362 - matthewjasper:remove-rescope, r=nikomatsakis 2020-05-24 04:15:08 +00:00
libserialize linker: More systematic handling of CRT objects 2020-05-14 10:45:11 +03:00
libstd Auto merge of #72472 - LeSeulArtichaut:sync-command, r=dtolnay 2020-05-25 02:48:55 +00:00
libterm Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
libtest Fix clippy warnings 2020-05-11 17:13:32 +02:00
libunwind rustc_target: Avoid an inappropriate use of post_link_objects 2020-05-20 21:33:37 +03:00
llvm-project@943dbddc8e Update LLVM submodule 2020-05-20 20:14:16 +02:00
rtstartup
rustc
rustllvm rustllvm: Fix warnings about unused function parameters 2020-05-21 22:05:19 +03:00
stdarch@ec6fccd34c Update stdarch 2020-05-09 16:03:40 -04:00
test miri_unleached: We now allow offset in const fn 2020-05-25 13:09:02 -07:00
tools bump Miri 2020-05-24 15:11:00 +02:00
README.md
stage0.txt Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04: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 dev guide.