rust/src
Dylan DPC 7e4ed72d64
Rollup merge of #70558 - RalfJung:vec-extend-aliasing, r=Amanieu
Fix some aliasing issues in Vec

`Vec::extend` and `Vec::truncate` invalidated references into the vector even without reallocation, because they (implicitly) created a mutable reference covering the *entire* initialized part of the vector.

Fixes https://github.com/rust-lang/rust/issues/70301
I verified the fix by adding some new tests here that I ran in Miri.
2020-04-05 13:13:08 +02:00
..
bootstrap Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
build_helper
ci Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
doc Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
etc tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
liballoc Rollup merge of #70558 - RalfJung:vec-extend-aliasing, r=Amanieu 2020-04-05 13:13:08 +02:00
libarena
libcore Rollup merge of #70752 - yoshuawuyts:slice_fill, r=dtolnay 2020-04-05 06:44:45 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast
librustc_ast_lowering
librustc_ast_passes
librustc_ast_pretty
librustc_attr
librustc_builtin_macros
librustc_codegen_llvm Auto merge of #69718 - arlosi:debughash, r=eddyb 2020-04-04 03:00:47 +00:00
librustc_codegen_ssa direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_data_structures
librustc_driver comment refers to removed type 2020-04-04 20:30:09 +02:00
librustc_error_codes Rollup merge of #70735 - GuillaumeGomez:cleanup-e0502, r=Dylan-DPC 2020-04-03 22:55:14 +02:00
librustc_errors
librustc_expand macro_rules: NtLifetime cannot start with an identifier 2020-04-04 16:23:43 +03:00
librustc_feature
librustc_fs_util
librustc_hir
librustc_hir_pretty
librustc_incremental
librustc_index
librustc_infer Rollup merge of #70641 - estebank:dedup-code, r=nikomatsakis 2020-04-03 22:55:08 +02:00
librustc_interface Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
librustc_lexer Handle unterminated raw strings with no #s properly 2020-04-02 01:02:55 -04:00
librustc_lint nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
librustc_llvm
librustc_macros
librustc_metadata Update the description of link_cfg unstable 2020-04-04 01:43:16 +08:00
librustc_middle Rollup merge of #70748 - ogoffart:enum-layout-optim2, r=eddyb 2020-04-05 06:44:44 +02:00
librustc_mir Auto merge of #70156 - michaelwoerister:incr-cgus, r=nikomatsakis 2020-04-03 23:50:01 +00:00
librustc_mir_build direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_parse .unwrap() less on .span_to_snippet() 2020-04-03 03:17:40 +02:00
librustc_passes Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_plugin_impl
librustc_privacy
librustc_query_system
librustc_resolve
librustc_save_analysis
librustc_session Auto merge of #69718 - arlosi:debughash, r=eddyb 2020-04-04 03:00:47 +00:00
librustc_span Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
librustc_symbol_mangling
librustc_target rustc_target: Rely on default value of no_default_libraries more 2020-04-04 15:43:02 +03:00
librustc_trait_selection Rollup merge of #70641 - estebank:dedup-code, r=nikomatsakis 2020-04-03 22:55:08 +02:00
librustc_traits Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_ty Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_typeck typeck/type_of: only early-bound and (free) late-bound lifetimes are parameters. 2020-04-04 08:29:06 +03:00
librustdoc Rollup merge of #70706 - gizmondo:check-theme, r=GuillaumeGomez 2020-04-03 13:31:24 +02:00
libserialize Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
libstd Auto merge of #70136 - hermitcore:network_tcp, r=dtolnay 2020-04-04 06:04:32 +00:00
libterm
libtest
libunwind
llvm-project@130721d6f4
rtstartup
rustc
rustllvm Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
stdarch@abe96ca3b8
test Rollup merge of #70768 - petrochenkov:macambig, r=Centril,mark-i-m 2020-04-05 06:44:48 +02:00
tools rustc-workspace-hack: Account for upgraded crossbeam-utils 0.7 2020-04-05 00:45:50 +02: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.