os-rust/src
bors 68511b574f Auto merge of #86676 - cjgillot:localexpn, r=petrochenkov
Make expansions stable for incr. comp.

This PR aims to make expansions stable for incr. comp. by using the same architecture as definitions:
- the interned identifier `ExpnId` contains a `CrateNum` and a crate-local id;
- bidirectional maps `ExpnHash <-> ExpnId` are setup;
- incr. comp. on-disk cache saves and reconstructs expansions using their `ExpnHash`.

I tried to use as many `LocalExpnId` as I could in the resolver code, but I may have missed a few opportunities.

All this will allow to use an `ExpnId` as a query key, and to force this query without recomputing caller queries. For instance, this will be used to implement #85999.

r? `@petrochenkov`
2021-07-17 17:56:46 +00:00
..
bootstrap Upgrade cc crate to 1.0.69 2021-07-13 17:58:50 +09:00
build_helper Revert "Revert "Move llvm submodule updates to rustbuild"" 2021-06-04 22:17:01 -04:00
ci Rollup merge of #87130 - GuillaumeGomez:update-browser-ui-test, r=Mark-Simulacrum 2021-07-14 19:53:41 +02:00
doc Rollup merge of #87031 - ZuseZ4:patch-1, r=GuillaumeGomez 2021-07-12 04:32:01 +09:00
etc Auto merge of #86761 - Alexhuszagh:master, r=estebank 2021-07-17 12:56:22 +00:00
librustdoc Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez 2021-07-16 19:54:08 +02:00
llvm-project@bdb386270f Update to LLVM 12.0.1 2021-07-12 08:53:53 +02:00
rustdoc-json-types rustdoc- Show defaults on const generics 2021-06-03 09:01:25 +01:00
test Auto merge of #86676 - cjgillot:localexpn, r=petrochenkov 2021-07-17 17:56:46 +00:00
tools Auto merge of #86676 - cjgillot:localexpn, r=petrochenkov 2021-07-17 17:56:46 +00:00
README.md
stage0.txt Update to new bootstrap compiler 2021-06-28 11:30:49 -04:00
version Bump to 1.54 2021-06-11 19:19:55 -04:00

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.