rust/src
Mazdak Farrokhzad 4b91729df2
Rollup merge of #65097 - tmiasko:arc, r=Amanieu
Make std::sync::Arc compatible with ThreadSanitizer

The memory fences used previously in Arc implementation are not properly
understood by thread sanitizer as synchronization primitives. This had
unfortunate effect where running any non-trivial program compiled with
`-Z sanitizer=thread` would result in numerous false positives.

Replace acquire fences with acquire loads to address the issue.

Fixes #39608.
2020-03-21 05:33:13 +01:00
..
bootstrap Rollup merge of #69443 - ehuss:tidy-license, r=skade,Mark-Simulacrum 2020-03-19 06:57:30 +01:00
build_helper
ci ci: use python from the correct path 2020-03-18 21:07:44 +01:00
doc Update books 2020-03-16 19:09:54 -07:00
etc Rollup merge of #69049 - pthariensflame:improvement/imgbot, r=GuillaumeGomez 2020-02-13 02:52:53 +01:00
liballoc Make std::sync::Arc compatible with ThreadSanitizer 2020-03-20 00:18:44 +01:00
libarena
libcore Auto merge of #69509 - RalfJung:debug-assert-write, r=eddyb 2020-03-20 19:02:32 +00:00
libfmt_macros fix various typos 2020-03-06 15:19:31 +01:00
libgraphviz
libpanic_abort Simplify the try intrinsic by using a callback in the catch block 2020-03-05 17:36:50 +00:00
libpanic_unwind remove unused imports 2020-03-19 07:53:32 +01:00
libproc_macro Use min_specialization in libstd and libproc_macro 2020-03-15 13:23:03 +00:00
libprofiler_builtins
librustc Rollup merge of #69935 - davidtwco:issue-69925, r=eddyb 2020-03-20 17:02:05 +09:00
librustc_apfloat
librustc_ast Rollup merge of #69899 - ecstatic-morse:const-idx-methods, r=oli-obk 2020-03-18 18:03:42 +01:00
librustc_ast_lowering rustc: use LocalDefId instead of DefIndex in hir::map::definitions. 2020-03-19 11:16:08 +02:00
librustc_ast_passes Auto merge of #68970 - matthewjasper:min-spec, r=nikomatsakis 2020-03-16 20:49:26 +00:00
librustc_ast_pretty Don't prepend with space before paren 2020-03-17 18:29:20 +01:00
librustc_attr Other legacy -> macro_rules 2020-03-16 00:29:42 +03:00
librustc_builtin_macros fix pre-expansion linting infra 2020-03-18 15:08:25 +01:00
librustc_codegen_llvm Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
librustc_codegen_ssa Rollup merge of #69935 - davidtwco:issue-69925, r=eddyb 2020-03-20 17:02:05 +09:00
librustc_codegen_utils Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
librustc_data_structures Bump the bootstrap compiler 2020-03-15 19:43:25 +01:00
librustc_driver use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_error_codes Rollup merge of #70146 - GuillaumeGomez:cleanup-e0438, r=Dylan-DPC 2020-03-20 17:02:12 +09:00
librustc_errors use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_expand fix pre-expansion linting infra 2020-03-18 15:08:25 +01:00
librustc_feature Rollup merge of #69870 - petrochenkov:cfgacc, r=matthewjasper 2020-03-17 03:05:12 +01:00
librustc_fs_util
librustc_hir rustc: use LocalDefId instead of DefIndex in ich. 2020-03-19 11:16:08 +02:00
librustc_incremental Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
librustc_index Add requisite feature gates for const assert 2020-03-17 11:15:40 -07:00
librustc_infer Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
librustc_interface Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
librustc_lexer fix various typos 2020-03-06 15:19:31 +01:00
librustc_lint rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_llvm use char instead of &str for single char patterns 2020-02-27 14:57:22 +01:00
librustc_macros Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddyb 2020-03-10 17:12:48 +00:00
librustc_metadata rustc: use LocalDefId instead of DefIndex in hir::map::definitions. 2020-03-19 11:16:08 +02:00
librustc_mir Rollup merge of #69935 - davidtwco:issue-69925, r=eddyb 2020-03-20 17:02:05 +09:00
librustc_mir_build rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_parse fix rebase fallout 2020-03-18 15:08:25 +01:00
librustc_passes rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_plugin_impl use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_privacy rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_resolve rustc: use LocalDefId instead of DefIndex in hir::map::definitions. 2020-03-19 11:16:08 +02:00
librustc_save_analysis use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_session Auto merge of #69519 - 12101111:remove-proc-macro-check, r=nagisa 2020-03-17 18:27:26 +00:00
librustc_span rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_target Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJung 2020-03-20 17:02:03 +09:00
librustc_trait_selection rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustc_traits More Method->Fn renaming 2020-03-15 19:15:55 -05:00
librustc_ty Rollup merge of #69036 - eddyb:monoshim, r=nikomatsakis 2020-03-19 06:57:28 +01:00
librustc_typeck rustc: use LocalDefId instead of DefIndex in HirId. 2020-03-19 11:16:08 +02:00
librustdoc Auto merge of #69402 - GuillaumeGomez:extend-search, r=kinnison 2020-03-19 16:07:59 +00:00
libserialize Inline various simple emit_* and read_* methods in Decoder. 2020-02-18 16:46:50 +11:00
libstd doc: Add quote to .init_array 2020-03-19 17:35:28 +07:00
libterm
libtest Rollup merge of #69802 - matthiaskrgr:cl1ppy, r=Dylan-DPC 2020-03-14 04:03:24 +09:00
libunwind Link to libgcc dynamically on windows-gnu when using dylib crates 2020-03-05 17:36:50 +00:00
llvm-project@9f65ad0573 update llvm to silence gcc 9 warnings 2020-02-26 10:27:01 +08:00
rtstartup Fix MinGW termination callbacks not being invoked 2020-03-05 17:36:50 +00:00
rustc
rustllvm librustc_codegen_llvm: Use slices instead of 0-terminated strings 2020-03-11 08:10:21 +01:00
stdarch@dea57529b3
test Auto merge of #69509 - RalfJung:debug-assert-write, r=eddyb 2020-03-20 19:02:32 +00:00
tools Auto merge of #69402 - GuillaumeGomez:extend-search, r=kinnison 2020-03-19 16:07:59 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
stage0.txt Bump the bootstrap compiler 2020-03-15 19:43:25 +01: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.