rust/src
Mark Rousskov bd12cd3d2f Formatter::sign is &'static str
The contents were always UTF-8 anyway, and &str has an equivalent representation
to &[u8], so this should not affect performance while removing unsafety at
edges.

It may be worth exploring a further adjustment that stores a single byte
(instead of 16) as the contents are always "", "-", or "+".
2020-02-15 18:17:51 -05:00
..
bootstrap Auto merge of #69115 - ehuss:update-books, r=Dylan-DPC 2020-02-14 19:59:05 +00:00
build_helper Remove sanitizer runtime crates 2020-01-09 07:54:02 +01:00
ci Rollup merge of #68947 - chrissimpkins:python-fmt, r=alexcrichton 2020-02-12 18:55:41 +09:00
doc Update books. 2020-02-13 08:11:09 -08:00
etc Rollup merge of #69049 - pthariensflame:improvement/imgbot, r=GuillaumeGomez 2020-02-13 02:52:53 +01:00
liballoc Rollup merge of #69058 - TimDiekmann:box, r=Amanieu 2020-02-12 18:55:48 +09:00
libarena Remove SyncTypedArena, SyncDroplessArena and in_arena 2020-01-11 07:56:45 +01:00
libcore Formatter::sign is &'static str 2020-02-15 18:17:51 -05:00
libfmt_macros Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
libgraphviz Add option to dot::render for monospace font 2020-02-09 10:33:06 -08:00
libpanic_abort
libpanic_unwind Drop cfg(bootstrap) code 2020-01-31 12:31:09 -05:00
libproc_macro Remove unnecessary const_fn feature gates 2020-01-10 18:51:12 -08:00
libprofiler_builtins Handle changed InstrProfilingRuntime path 2020-01-07 21:28:22 +01:00
librustc Auto merge of #67681 - matthewjasper:infer-regions-in-borrowck, r=nikomatsakis 2020-02-15 02:24:04 +00:00
librustc_apfloat
librustc_ast_lowering Auto merge of #67681 - matthewjasper:infer-regions-in-borrowck, r=nikomatsakis 2020-02-15 02:24:04 +00:00
librustc_ast_passes ast_validation: tweak diagnostic output 2020-02-13 10:40:17 +01:00
librustc_ast_pretty parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
librustc_attr Auto merge of #68491 - pnkfelix:hide-niches-under-unsafe-cell, r=oli 2020-02-11 20:48:27 +00:00
librustc_builtin_macros rustc_bulltin_macros: tweak span_labels 2020-02-13 10:40:17 +01:00
librustc_codegen_llvm add selfprofiling for new llvm passmanager 2020-02-13 08:02:18 +01:00
librustc_codegen_ssa rename PanicInfo -> AssertKind 2020-02-13 11:04:49 +01:00
librustc_codegen_utils Remove unused feature gates from cg_ssa and cg_utils 2020-02-04 19:18:10 +01:00
librustc_data_structures Rollup merge of #68475 - Aaron1011:fix/forest-caching, r=nikomatsakis 2020-02-15 07:17:45 +09:00
librustc_driver Rollup merge of #69059 - ljedrz:unused_stuff, r=Dylan-DPC 2020-02-12 14:21:14 +01:00
librustc_error_codes Rollup merge of #69055 - GuillaumeGomez:clean-up-e0307, r=Dylan-DPC 2020-02-11 16:37:06 +01:00
librustc_errors Auto merge of #69062 - Dylan-DPC:rollup-7wpjpqu, r=Dylan-DPC 2020-02-11 17:45:49 +00:00
librustc_expand Rollup merge of #69150 - nnethercote:68848-follow-up, r=petrochenkov 2020-02-15 07:17:52 +09:00
librustc_feature Add #[repr(no_niche)]. 2020-02-10 14:44:12 -05:00
librustc_fs_util
librustc_hir Distinguish RPIT from other impl trait 2020-02-14 20:12:46 +00:00
librustc_incremental Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPC 2020-02-11 16:36:54 +01:00
librustc_index index ReEmpty by universe 2020-02-06 15:58:00 -05:00
librustc_interface Move resolve_instance to rustc_ty. 2020-02-13 18:53:21 +01:00
librustc_lexer Spelling error "represening" to "representing" 2020-02-13 11:14:21 -05:00
librustc_lint Constness -> enum Const { Yes(Span), No } 2020-02-13 10:39:23 +01:00
librustc_llvm Better support for cross compilation on Windows. 2020-01-14 12:15:13 -08:00
librustc_macros remove some dependencies on itertools 2020-02-11 19:28:38 +01:00
librustc_metadata Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPC 2020-02-11 16:36:54 +01:00
librustc_mir Rollup merge of #69166 - JohnTitor:ice-const-enum, r=matthewjasper 2020-02-15 09:45:48 +01:00
librustc_mir_build Generate more accurate MIR in construct_error 2020-02-14 22:40:02 +00:00
librustc_parse Suggest a comma if a struct initializer field fails to parse 2020-02-14 22:28:13 -05:00
librustc_passes Rollup merge of #68554 - cjgillot:lang_items, r=Zoxc 2020-02-12 18:55:37 +09:00
librustc_plugin_impl remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_privacy Move more into decorate functions. 2020-02-11 19:50:26 +10:00
librustc_resolve Rollup merge of #69108 - cjgillot:trait_candidate, r=Zoxc 2020-02-13 21:28:06 +01:00
librustc_save_analysis IsAsync -> enum Async { Yes { span: Span, .. }, No } 2020-02-13 10:39:24 +01:00
librustc_session add selfprofiling for new llvm passmanager 2020-02-13 08:02:18 +01:00
librustc_span Auto merge of #68491 - pnkfelix:hide-niches-under-unsafe-cell, r=oli 2020-02-11 20:48:27 +00:00
librustc_target Properly use the darwin archive format on Apple targets 2020-02-12 12:06:14 +01:00
librustc_traits Reduce the number of RefCells in InferCtxt. 2020-02-10 08:55:34 +11:00
librustc_ty Move resolve_instance to rustc_ty. 2020-02-13 18:53:21 +01:00
librustc_typeck Rollup merge of #69154 - JohnTitor:fix-macro-ices, r=petrochenkov 2020-02-15 09:45:46 +01:00
librustdoc Rollup merge of #69164 - GuillaumeGomez:update-pulldown-cmark, r=Dylan-DPC 2020-02-15 07:17:53 +09:00
libserialize Rollup merge of #69050 - nnethercote:micro-optimize-leb128, r=michaelwoerister 2020-02-13 02:52:54 +01:00
libstd Rollup merge of #69106 - RReverser:wasi-fs-copy, r=KodrAus 2020-02-15 09:45:45 +01:00
libsyntax parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01:00
libterm parse extended terminfo format 2020-01-11 14:27:52 -05:00
libtest Respect --nocapture in panic=abort test mode 2020-02-06 14:43:53 -08:00
libunwind Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton 2020-01-06 19:07:42 +00:00
llvm-project@d7cdb43592 Fix LLVM assertion failure in MSP430 interrupt generation. 2020-01-27 10:42:48 -05:00
rtstartup
rustc Remove unused dependencies 2020-01-09 11:52:03 +09:00
rustllvm Auto merge of #69144 - Dylan-DPC:rollup-apt6zjj, r=Dylan-DPC 2020-02-13 22:20:58 +00:00
stdarch@dea57529b3 stdarch: update submodule. 2020-02-01 22:04:18 -05:00
test Auto merge of #69168 - brainlock:test-textrel-regression, r=Mark-Simulacrum,tmandry 2020-02-15 13:48:53 +00:00
tools Auto merge of #69115 - ehuss:update-books, r=Dylan-DPC 2020-02-14 19:59:05 +00:00
README.md
stage0.txt Bump rustfmt and stage0 2020-01-31 12:31:09 -05: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.