rust/src
Nicholas Nethercote 7c4d431c06 Change SymbolName::name to a &str.
This eliminates a bunch of `Symbol::intern()` and `Symbol::as_str()`
calls, which is good, because they require locking the interner.

Note that the unsafety in `from_cycle_error()` is identical to the
unsafety on other adjacent impls.
2020-07-15 14:37:55 +10:00
..
bootstrap Rollup merge of #74252 - shepmaster:bootstrap-rust-destdir, r=Mark-Simulacrum 2020-07-14 13:19:26 -07:00
build_helper
ci Rollup merge of #74161 - tblah:riscv64gc-dockerfile-improvment, r=Mark-Simulacrum 2020-07-10 23:26:54 -07:00
doc Rollup merge of #74135 - ehuss:update-books, r=ehuss 2020-07-10 23:26:51 -07:00
etc Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu 2020-07-11 08:53:13 -07:00
liballoc Remove unnecessary type hints from the Wake impl 2020-07-14 11:59:11 +02:00
libcore Rollup merge of #74228 - estebank:unsized-param, r=davidtwco 2020-07-14 13:19:24 -07:00
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_arena
librustc_ast Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_ast_lowering Suggest borrowing in more unsized fn param cases 2020-07-14 10:50:24 -07:00
librustc_ast_passes
librustc_ast_pretty Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustc_attr Add and use more static symbols. 2020-07-15 08:42:59 +10:00
librustc_builtin_macros Add and use more static symbols. 2020-07-15 08:42:59 +10:00
librustc_codegen_llvm Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_codegen_ssa Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_data_structures Rollup merge of #73984 - pierwill:pierwill-tarjan, r=jonas-schievink 2020-07-03 17:17:05 -07:00
librustc_driver Add and use more static symbols. 2020-07-15 08:42:59 +10:00
librustc_error_codes Rollup merge of #74173 - estebank:struct-pat-as-enum, r=petrochenkov 2020-07-14 07:39:02 -07:00
librustc_errors Rollup merge of #74079 - nnethercote:session-globals, r=nikomatsakis 2020-07-09 11:50:32 -07:00
librustc_expand Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_feature Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung 2020-07-11 08:53:06 -07:00
librustc_fs_util
librustc_graphviz
librustc_hir Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustc_hir_pretty Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_incremental Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_index Use ArrayVec in SparseBitSet. 2020-07-14 10:31:54 +10:00
librustc_infer Auto merge of #73978 - Mark-Simulacrum:shrink-paramenv, r=nnethercote 2020-07-06 20:44:16 +00:00
librustc_interface Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_lexer Rollup merge of #73856 - pierwill:pierwill-lexer-doc, r=jonas-schievink 2020-07-06 17:45:17 -07:00
librustc_lint Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustc_llvm
librustc_macros
librustc_metadata Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_middle Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_mir Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_mir_build Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakis 2020-07-09 11:50:28 -07:00
librustc_parse Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_parse_format Eliminate confusing "globals" terminology. 2020-07-09 14:11:44 +10:00
librustc_passes Add and use more static symbols. 2020-07-15 08:42:59 +10:00
librustc_plugin_impl Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_privacy Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_query_system Remove const_if_match feature gate from libraries 2020-06-28 10:08:09 -07:00
librustc_resolve Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustc_save_analysis Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_serialize
librustc_session Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_span Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_symbol_mangling Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
librustc_target don't mark linux kernel module targets as a unix environment 2020-07-11 17:20:33 -04:00
librustc_trait_selection Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustc_traits Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_ty Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakis 2020-07-09 11:50:28 -07:00
librustc_typeck Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
librustdoc Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
libstd Rollup merge of #74271 - lzutao:cmdbytes, r=LukasKalbertodt 2020-07-14 13:19:30 -07:00
libterm
libtest
libunwind
llvm-project@86b120e6f3 Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit which includes LVI segfault fix 2020-07-12 18:49:14 +00:00
rtstartup
rustc
rustllvm Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu 2020-07-11 08:53:13 -07:00
stdarch@45340c0e2f
test Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00:00
tools Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk 2020-07-15 00:16:25 +00: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 dev guide.