rust/src
Dylan DPC 827ec49c23
Rollup merge of #72017 - ctaggart:wasm2, r=ecstatic-morse
Work around ICEs during cross-compilation for target, ast, & attr

This applies the fix for #72003 to work around #56935 to three more libraries. With these additional fixes, I'm able to use rustfmt_lib from wasm (https://github.com/rust-lang/rustfmt/issues/4132#issuecomment-616587989), which was my goal.

To get it working locally and to test, I copied the `.cargo/registry/src` and applied the fix and replaced the reference in my project:
``` toml
[replace]
"rustc-ap-rustc_span:656.0.0" = { path = "../rustc-ap-rustc_span" }
"rustc-ap-rustc_target:656.0.0" = { path = "../rustc-ap-rustc_target" }
"rustc-ap-rustc_ast:656.0.0" = { path = "../rustc-ap-rustc_ast" }
"rustc-ap-rustc_attr:656.0.0" = { path = "../rustc-ap-rustc_attr" }
```
2020-05-08 18:48:33 +02:00
..
bootstrap Rollup merge of #71731 - mark-i-m:guide-toolstate-off-for-now, r=kennytm 2020-05-06 22:36:45 +02:00
build_helper
ci Auto merge of #71995 - pietroalbini:ci-windows-detect-latest-python, r=Mark-Simulacrum 2020-05-07 21:52:39 +00:00
doc Rollup merge of #71897 - alexcrichton:embed-bitcode-docs, r=nnethercote 2020-05-05 12:55:13 +02:00
etc
liballoc Rollup merge of #70733 - yoshuawuyts:arc-increment-refcount, r=Mark-Simulacrum 2020-05-07 21:46:06 +02:00
libarena
libcore rewrite Drop documentation 2020-05-07 09:10:31 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast Work around ICEs during cross-compilation 2020-05-08 09:38:18 -06:00
librustc_ast_lowering Move ensure_sufficient_stack to data_structures 2020-05-02 16:47:52 +02:00
librustc_ast_passes Add docstring to deny_equality_constraints 2020-05-04 11:09:10 -07:00
librustc_ast_pretty
librustc_attr Rollup merge of #72017 - ctaggart:wasm2, r=ecstatic-morse 2020-05-08 18:48:33 +02:00
librustc_builtin_macros fix typo in function name 2020-05-04 18:27:23 -04:00
librustc_codegen_llvm Simplify bitcode embedding - either None or Full 2020-05-08 09:48:30 +10:00
librustc_codegen_ssa Rollup merge of #71970 - thombles:ios-bitcode-improvements, r=alexcrichton 2020-05-08 18:48:28 +02:00
librustc_data_structures Auto merge of #55617 - oli-obk:stacker, r=nagisa,oli-obk 2020-05-07 00:03:23 +00:00
librustc_driver
librustc_error_codes Add stability attribute to E0539 error examples 2020-05-03 00:25:45 +03:00
librustc_errors
librustc_expand Implement confusable_idents lint. 2020-05-03 02:30:50 +08:00
librustc_feature Implement RFC 2523, #[cfg(version(..))] 2020-05-03 02:42:07 +02:00
librustc_fs_util
librustc_hir Rollup merge of #71989 - ecstatic-morse:const-context-enum, r=oli-obk 2020-05-08 14:11:44 +02:00
librustc_hir_pretty
librustc_incremental Don't copy bytecode files into the incr. comp. cache. 2020-05-01 08:14:39 -07:00
librustc_index
librustc_infer Restore the snapshot/rollback optimization for region constraints 2020-05-05 11:25:12 +02:00
librustc_interface Auto merge of #55617 - oli-obk:stacker, r=nagisa,oli-obk 2020-05-07 00:03:23 +00:00
librustc_lexer
librustc_lint Rollup merge of #71773 - tshepang:links, r=davidtwco 2020-05-04 16:15:32 +02:00
librustc_llvm Don't skip building LLVM if already built 2020-05-02 18:43:55 -04:00
librustc_macros Monomorphise load_from_disk_and_cache_in_memory. 2020-05-01 14:29:35 +02:00
librustc_metadata Rollup merge of #71813 - ecstatic-morse:issue-71734, r=tmandry 2020-05-03 14:18:08 +05:30
librustc_middle Rollup merge of #71989 - ecstatic-morse:const-context-enum, r=oli-obk 2020-05-08 14:11:44 +02:00
librustc_mir Rollup merge of #71993 - ecstatic-morse:cleanup-old-liveness, r=jonas-schievink 2020-05-08 14:11:45 +02:00
librustc_mir_build Rollup merge of #71975 - nnethercote:reduce-TypedArena-creations-in-check_match, r=oli-obk 2020-05-08 18:48:29 +02:00
librustc_parse Detect errors caused by async block in 2015 edition 2020-05-05 19:35:20 -07:00
librustc_passes Use hir::ConstContext instead of local enums 2020-05-07 11:28:55 -07:00
librustc_plugin_impl
librustc_privacy
librustc_query_system Auto merge of #71754 - alexcrichton:no-bitcode-in-cache, r=nnethercote 2020-05-04 14:14:55 +00:00
librustc_resolve Rollup merge of #71903 - euclio:reword-possible-better, r=petrochenkov 2020-05-07 21:46:14 +02:00
librustc_save_analysis
librustc_session Rollup merge of #71269 - Mark-Simulacrum:sat-float-casts, r=nikic 2020-05-06 16:58:50 +02:00
librustc_span FIXME comment 2020-05-08 07:56:53 -06:00
librustc_symbol_mangling
librustc_target Rollup merge of #72017 - ctaggart:wasm2, r=ecstatic-morse 2020-05-08 18:48:33 +02:00
librustc_trait_selection Rollup merge of #71960 - estebank:fix-E0284, r=davidtwco 2020-05-07 21:46:16 +02:00
librustc_traits Move ensure_sufficient_stack to data_structures 2020-05-02 16:47:52 +02:00
librustc_ty fix rustdoc warnings 2020-05-02 10:41:04 +02:00
librustc_typeck Rollup merge of #71938 - mark-i-m:de-abuse-err-4, r=eddyb 2020-05-07 17:58:52 +02:00
librustdoc Rollup merge of #71581 - GuillaumeGomez:unify-lints-handling, r=kinnison 2020-05-08 18:48:19 +02:00
libserialize Update src/libserialize/json.rs 2020-05-02 08:51:54 +02:00
libstd Rollup merge of #71980 - steveklabnik:warnings-fixes, r=Mark-Simulacrum 2020-05-07 17:59:00 +02:00
libterm
libtest
libunwind Use -fvisibility=hidden for libunwind 2020-05-05 12:41:23 -07:00
llvm-project@3ba91917e5 Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
rtstartup
rustc
rustllvm Auto merge of #71528 - alexcrichton:no-more-bitcode, r=nnethercote 2020-04-29 23:47:27 +00:00
stdarch@d10eefc622
test Rollup merge of #71710 - workingjubilee:jubilee-readd-test, r=nikomatsakis 2020-05-08 18:48:23 +02:00
tools update miri 2020-05-08 00:28:51 +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.