rust/src/tools
bors 9e1aff82e6 Auto merge of #89836 - pierwill:fix-85142-crate-hash, r=wesleywiser
Include rustc version in `rustc_span::StableCrateId`

`rustc_span::def_id::StableCrateId` is a hash of various data about a crate during compilation. This PR includes the version of `rustc` in the input when computing this hash. From a cursory reading of [RFC 2603](https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html), this appears to be acceptable within that design.

In order to pass the `mir-opt` and `ui` test suites, this adds new [normalization for hashes and symbol names in `compiletest`](https://github.com/rust-lang/rust/pull/89836/files#diff-03a0567fa80ca04ed5a55f9ac5c711b4f84659be2d0ac4a984196d581c04f76b). These are enabled by default, but we might prefer it to be configurable.

In the UI tests, I had to truncate a significant amount of error annotations in v0 symbols (and maybe some legacy) in order to get the normalization to work correctly. (See https://github.com/rust-lang/rust/issues/90116.)

Closes #85142.
2021-12-16 02:21:30 +00:00
..
build-manifest Migrate to 2021 2021-09-20 22:21:42 -04:00
bump-stage0 remove "field is never read" warning 2021-10-23 21:55:57 -04:00
cargo@a359ce1607 Update cargo 2021-12-14 15:24:41 -08:00
cargotest Migrate to 2021 2021-09-20 22:21:42 -04:00
clippy Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, r=jackh726,pnkfelix 2021-12-15 08:36:19 +01:00
compiletest Add run-make-fulldeps test 2021-12-13 10:24:06 -06:00
error_index_generator Rollup merge of #89506 - yaymukund:docblock-headings, r=GuillaumeGomez 2021-10-06 12:33:20 -07:00
expand-yaml-anchors Migrate to 2021 2021-09-20 22:21:42 -04:00
html-checker Support early stopping too old pre-installed tidy command for macOS in the HTML checker 2021-11-07 10:25:04 +09:00
jsondocck Migrate to 2021 2021-09-20 22:21:42 -04:00
linkchecker docs: Escape brackets to satisfy the linkchecker 2021-10-22 14:08:43 -07:00
lint-docs Adjust documentation for compatibility with 2021 2021-09-20 22:21:43 -04:00
lld-wrapper Add wrapper for -Z gcc-ld=lld to invoke rust-lld with the correct flavor 2021-10-07 16:59:13 +02:00
miri@dadcbebfbd update Miri 2021-12-08 10:53:12 -05:00
remote-test-client Migrate to 2021 2021-09-20 22:21:42 -04:00
remote-test-server Migrate to 2021 2021-09-20 22:21:42 -04:00
rls@bf88026f11 Bump RLS submodule 2021-09-07 11:16:31 -04:00
rust-analyzer@7d6fcbc0be ⬆️ rust-analyzer 2021-12-07 07:46:50 +02:00
rust-demangler Migrate to 2021 2021-09-20 22:21:42 -04:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook 2021-12-03 12:25:07 -08:00
rustc-workspace-hack Update winapi shared features. 2021-10-12 07:14:32 -07:00
rustdoc Migrate to 2021 2021-09-20 22:21:42 -04:00
rustdoc-gui Improve code for rustdoc-gui tester 2021-12-06 10:40:38 +01:00
rustdoc-js Allow to run a specific rustdoc-js* test 2021-11-09 17:41:51 +01:00
rustdoc-themes Migrate to 2021 2021-09-20 22:21:42 -04:00
rustfmt Merge commit '8da8371857' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
tidy replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00
tier-check Migrate to 2021 2021-09-20 22:21:42 -04:00
unicode-table-generator Let unicode-table-generator fail gracefully for bitsets 2021-10-06 17:35:49 -07:00
unstable-book-gen Migrate to 2021 2021-09-20 22:21:42 -04:00
x Migrate to 2021 2021-09-20 22:21:42 -04:00
cherry-pick.sh Add cherry-pick.sh convenience script. 2021-08-20 11:58:18 +01:00
publish_toolstate.py Disable validate_maintainers. 2021-09-15 09:25:06 -07:00