os-rust/src
kennytm 1d286f7918
Rollup merge of #59296 - petrochenkov:stdup, r=estebank
Do not encode gensymed imports in metadata

(Unless they are underscore `_` imports which are re-gensymed on crate loading, see https://github.com/rust-lang/rust/pull/56392.)

We cannot encode gensymed imports properly in metadata and if we encode them improperly, we can get erroneous name conflicts downstream.
Gensymed imports are produced by the compiler, so we control their set, and can be sure that none of them needs being encoded for use from other crates.

A workaround that fixes https://github.com/rust-lang/rust/issues/59243.
2019-03-24 19:00:04 +08:00
..
bootstrap Rollup merge of #59309 - o01eg:verbose-copy-files, r=alexcrichton 2019-03-22 19:31:31 +01:00
build_helper rustc: doc comments 2019-02-10 23:42:32 +00:00
ci Auto merge of #58791 - denzp:asm-compile-tests, r=alexcrichton 2019-03-20 17:54:27 +00:00
doc Track changes to robots.txt 2019-03-15 15:05:12 +00:00
etc rust-lldb: fix crash when printing empty string 2019-03-06 12:28:38 -05:00
grammar
liballoc Rollup merge of #59206 - sntdevco:master, r=dtolnay 2019-03-16 22:40:57 +08:00
libarena libarena => 2018 2019-02-11 23:49:48 +01:00
libcore Rollup merge of #59239 - gnzlbg:fix_spin_loop, r=nagisa 2019-03-24 15:32:45 +08:00
libfmt_macros Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
libgraphviz Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton 2019-02-12 23:30:16 +00:00
libpanic_abort SGX target: fix panic = abort 2019-02-14 12:39:54 +05:30
libpanic_unwind libpanic_unwind => 2018: remove unused extern crate. 2019-02-13 18:09:09 +01:00
libproc_macro Use ? in some macros 2019-02-24 21:59:44 +09:00
libprofiler_builtins Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc Auto merge of #59084 - estebank:diagnostic-spans, r=davidtwco 2019-03-23 22:26:11 +00:00
librustc_allocator Auto merge of #58098 - oli-obk:maybe_allow_internal_unstable, r=petrochenkov 2019-02-12 12:10:10 +00:00
librustc_apfloat Stabilize TryFrom and TryInto 2019-02-13 18:00:18 +01:00
librustc_asan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_borrowck Auto merge of #59068 - ljedrz:kill_off_NodeId_stragglers, r=Zoxc 2019-03-23 17:34:18 +00:00
librustc_codegen_llvm Rollup merge of #59152 - smmalis37:range_contains, r=SimonSapin 2019-03-16 22:40:23 +08:00
librustc_codegen_ssa Revert the LazyConst PR 2019-03-16 21:04:10 +01:00
librustc_codegen_utils Remove MetadataOnlyCodegenBackend 2019-03-16 10:54:38 +01:00
librustc_cratesio_shim librustc_cratesio_shim => 2018 2019-02-08 20:55:12 +09:00
librustc_data_structures Use derive macro for HashStable 2019-03-13 00:03:13 +01:00
librustc_driver Rollup merge of #59251 - matthewjasper:fix-graphviz, r=petrochenkov 2019-03-24 18:59:42 +08:00
librustc_errors Tweak unsupported negative trait bounds message 2019-03-23 13:05:30 -07:00
librustc_fs_util rustc: doc comments 2019-02-10 23:42:32 +00:00
librustc_incremental Add load_cached query modifier and keep dep node names consistent with query names 2019-03-18 08:20:09 +01:00
librustc_interface Auto merge of #58847 - bjorn3:remove_metadata_only_cg, r=alexcrichton 2019-03-18 11:28:12 +00:00
librustc_lint Auto merge of #59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc 2019-03-23 12:21:27 +00:00
librustc_llvm Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_lsan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_macros Preprocess query modifiers 2019-03-18 14:19:52 +01:00
librustc_metadata Fix rebase 2019-03-23 13:05:30 -07:00
librustc_mir Rollup merge of #59251 - matthewjasper:fix-graphviz, r=petrochenkov 2019-03-24 18:59:42 +08:00
librustc_msan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_passes Refactor away NestedMetaItemKind 2019-03-16 23:14:42 +03:00
librustc_plugin Refactor away NestedMetaItemKind 2019-03-16 23:14:42 +03:00
librustc_privacy Auto merge of #59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc 2019-03-23 12:21:27 +00:00
librustc_resolve Rollup merge of #59296 - petrochenkov:stdup, r=estebank 2019-03-24 19:00:04 +08:00
librustc_save_analysis Auto merge of #59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc 2019-03-23 12:21:27 +00:00
librustc_target Rollup merge of #58976 - phil-opp:patch-2, r=alexcrichton 2019-03-16 14:56:25 +08:00
librustc_traits Revert the LazyConst PR 2019-03-16 21:04:10 +01:00
librustc_tsan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_typeck Auto merge of #59084 - estebank:diagnostic-spans, r=davidtwco 2019-03-23 22:26:11 +00:00
librustdoc Auto merge of #59068 - ljedrz:kill_off_NodeId_stragglers, r=Zoxc 2019-03-23 17:34:18 +00:00
libserialize Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
libstd Auto merge of #59370 - Centril:rollup, r=Centril 2019-03-22 21:00:07 +00:00
libsyntax Tweak unsupported negative trait bounds message 2019-03-23 13:05:30 -07:00
libsyntax_ext Refactor away NestedMetaItemKind 2019-03-16 23:14:42 +03:00
libsyntax_pos Do not encode gensymed imports in metadata 2019-03-19 22:50:46 +03:00
libtest Move some bench tests back from libtest 2019-03-20 01:22:19 +01:00
libunwind Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
llvm-emscripten@7f23313edf
llvm-project@4fc9fb8245 Add back in MSVC version check for LLVM 2019-03-01 11:26:19 -08:00
rtstartup
rustc Make the rustc driver and interface demand driven 2019-03-10 04:49:45 +01:00
rustllvm Implement ffi_returns_twice attribute 2019-02-23 15:48:40 +01:00
stdsimd@359845eb7c Update stdsimd 2019-02-24 11:31:49 +01:00
test Rollup merge of #59296 - petrochenkov:stdup, r=estebank 2019-03-24 19:00:04 +08:00
tools Rename miri component to miri-preview 2019-03-22 12:39:59 +01:00
.gitignore
README.md
stage0.txt Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07: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.

There is also useful content in the following READMEs, which are gradually being moved over to the guide: