rust/src
bors 83b30a639d Auto merge of #70951 - cjgillot:anarchy, r=oli-obk
Move the query engine out of rustc_middle

The handling of queries is moved to a trait `QueryEngine`.
It replaces `query::Queries` in the `TyCtxt`, allowing to move the query engine out of librustc_middle.

There are 2 modes to access the query engine: through `TyCtxt` and dynamic dispatch,
or through a `QueryCtxt`. The `QueryCtxt` is  required for everything touching the `OnDiskCache`.

For now, I put it in librustc_incremental, which is very small.
This may not be the best place.

A significant part of the codegen time for librustc_middle is moved to the recipient crate.

This PR may require a perf run.

cc #65031
r? `@Zoxc`
2021-02-20 18:58:05 +00:00
..
bootstrap Rollup merge of #82236 - matthiaskrgr:useless_conv, r=jyn514 2021-02-18 16:57:40 +01:00
build_helper
ci Auto merge of #81666 - hyd-dev:miri-windows-test-fail, r=Mark-Simulacrum 2021-02-13 13:47:02 +00:00
doc Rollup merge of #82261 - ojeda:rustdoc-argfile, r=jyn514 2021-02-19 02:49:12 +01:00
etc Rollup merge of #81891 - CraftSpider:fn-header, r=jyn514 2021-02-14 16:54:45 +01:00
librustdoc Show negative implementation of Sized trait 2021-02-19 22:38:07 +01:00
llvm-project@70d09f218d Bump LLVM submodule 2021-01-27 23:08:54 +00:00
rustdoc-json-types Rollup merge of #81891 - CraftSpider:fn-header, r=jyn514 2021-02-14 16:54:45 +01:00
test Add tests for !Sized trait display 2021-02-19 22:38:07 +01:00
tools Move try_print_query_stack to rustc_interface. 2021-02-19 17:51:55 +01:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Bump rustfmt version 2021-02-02 09:09:52 -05:00
version bump nightly version to 1.52.0 2021-02-05 16:25:08 +01:00

README.md

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

  • The test suite
  • 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.