rust/src
Pietro Albini acd8e59b66
build-manifest: calculate checksums lazily and in parallel
This commit improves the way build-manifest calculates the checksums
included in the manifest, speeding it up:

* Instead of calculating all the hashes beforehand and then using the
  ones we need, the manifest is first generated with placeholder hashes,
  and then a function walks through the manifest and calculates only the
  needed checksums.

* Calculating the checksums is now done in parallel with rayon, to
  better utilize all the available disk bandwidth.

* Calculating the checksums now uses the sha2 crate instead of the
  sha256sum CLI tool: this avoids the overhead of calling another
  process, but more importantly uses hardware acceleration whenever
  available (the CLI tool doesn't support it at all).
2020-10-01 17:30:24 +02:00
..
bootstrap build-manifest: keep legacy behavior when invoking through ./x.py dist 2020-09-30 14:29:02 +02:00
build_helper cleanup: Remove duplicate library names from `Cargo.toml`s 2020-08-30 22:57:54 +03:00
ci Auto merge of #77294 - shepmaster:try-anchors, r=pietroalbini 2020-09-30 07:57:48 +00:00
doc Update unstable-book: Fix ABNF in inline assembly docs 2020-09-28 15:57:21 +02:00
etc Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
librustdoc Auto merge of #77253 - jyn514:crate-link, r=Manishearth 2020-09-29 12:11:17 +00:00
llvm-project@7075196da1 Rebase LLVM onto 11.0.0-rc3 2020-09-22 10:16:03 -07:00
test Auto merge of #77069 - sexxi-goose:closure_print_2, r=nikomatsakis 2020-09-30 03:10:47 +00:00
tools build-manifest: calculate checksums lazily and in parallel 2020-10-01 17:30:24 +02:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt bump version to 1.48 2020-08-26 10:16:59 +02:00
version bootstrap: move the version number to a plaintext file 2020-09-18 14:58:22 +02: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.