rust/src
bors 39e593ab14 Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
Don't serialize ExpnData for foreign crates

When we encode an ExpnId into the crate metadata, we write out the
CrateNum of the crate that 'owns' the corresponding `ExpnData`, which
is later used to decode the `ExpnData` from its owning crate.

However, we current serialize the `ExpnData` for all `ExpnIds` that we
serialize, even if the `ExpnData` was already serialized into a foreign
crate. This commit skips encoding this kind of `ExpnData`, which should
hopefully speed up metadata encoding and reduce the total metadata size.
2020-08-09 18:19:34 +00:00
..
bootstrap Auto merge of #75111 - mati865:use-lld-option, r=Mark-Simulacrum 2020-08-04 05:37:44 +00:00
build_helper
ci ci: disable fail-fast on auto-fallible 2020-08-04 11:14:28 +02:00
doc Update books 2020-08-04 16:45:19 -07:00
etc Handle new HashMap layout in CDB, MSVC, WinDbg, etc. 2020-08-07 07:03:15 +01:00
librustc_apfloat
librustc_arena
librustc_ast Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_ast_lowering Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_ast_passes Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_ast_pretty Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_attr Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_builtin_macros Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_codegen_llvm Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_codegen_ssa Auto merge of #74533 - nikic:issue-74425, r=eddyb 2020-08-08 13:33:53 +00:00
librustc_data_structures
librustc_driver Remove some unnecessary uses of Option. 2020-08-08 12:02:45 +10:00
librustc_error_codes Rollup merge of #75292 - slanterns:cleanup-E0502, r=GuillaumeGomez 2020-08-09 06:41:39 +09:00
librustc_errors Show backtrace numbers in backtrace whenever more than one is involved 2020-08-05 11:05:12 -04:00
librustc_expand Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_feature fix min_const_generics version 2020-08-08 13:35:42 +02:00
librustc_fs_util
librustc_graphviz
librustc_hir Eliminate librustc_hir's dependency on librustc_session. 2020-08-08 12:03:44 +10:00
librustc_hir_pretty
librustc_incremental Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_index mir: use FiniteBitSet<u32> in polymorphization 2020-08-04 18:30:53 +01:00
librustc_infer fix clippy::needless_return: remove unneeded return statements 2020-08-08 00:57:37 +02:00
librustc_interface Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_lexer
librustc_lint Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_llvm
librustc_macros
librustc_metadata Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov 2020-08-09 18:19:34 +00:00
librustc_middle Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_mir Auto merge of #75260 - davidtwco:polymorphization-promoted-substs, r=lcnr 2020-08-08 15:57:12 +00:00
librustc_mir_build Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_parse Auto merge of #75276 - JohnTitor:rollup-rz4hs0w, r=JohnTitor 2020-08-08 03:54:33 +00:00
librustc_parse_format fix clippy::map_identity: remove redundant .map(|x| x) call 2020-08-07 22:47:32 +02:00
librustc_passes Eliminate librustc_hir's dependency on librustc_session. 2020-08-08 12:03:44 +10:00
librustc_plugin_impl Increase recursion_limit in librustc_plugin_impl. 2020-08-08 12:05:10 +10:00
librustc_privacy Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_query_system
librustc_resolve Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_save_analysis Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_serialize
librustc_session Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_span Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov 2020-08-09 18:19:34 +00:00
librustc_symbol_mangling Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_target Remove the --no-threads workaround for wasm targets. 2020-08-04 13:31:08 -07:00
librustc_trait_selection Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustc_traits fix clippy::needless_return: remove unneeded return statements 2020-08-08 00:57:37 +02:00
librustc_ty fix clippy::into_iter_on_ref: use .iter() instead of into_iter() on references. 2020-08-08 00:57:15 +02:00
librustc_typeck Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
librustdoc Auto merge of #74932 - nnethercote:rm-ast-session-globals, r=petrochenkov 2020-08-08 05:58:57 +00:00
llvm-project@86b120e6f3
rustc
rustllvm
test tests: Mark ui/asm/bad-arch.rs as requiring wasm llvm backend 2020-08-09 11:40:48 +03:00
tools Remove E0750 from unchecked error codes 2020-08-08 21:18:05 +02:00
README.md
stage0.txt

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.