rust/src
Yuki Okushi 17121f2959
Rollup merge of #82740 - jyn514:proper-history, r=Mark-Simulacrum
Fix commit detected when using `download-rustc`

On reflection on the issue in https://github.com/rust-lang/rust/pull/79540#discussion_r572572280, I think the bug was actually using the `compiler/` filter, not using `--author=bors`. 9a1d6174c9 has no CI artifacts because it was merged as part of a rollup:
```
$ curl -I https://ci-artifacts.rust-lang.org/rustc-builds/96e843ce6ae42e0aa519ba45e148269de347fd84/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz
HTTP/2 404
```
So 9a1d6174c9 is the correct commit to download, and that's what `--author=bors` does:

$ git log --author=bors 4aec8a5da5
commit 9a1d6174c9

Ideally it would look for "the most recent bors commit not followed by a change to `compiler/`", which would exclude things like documentation changes and avoid redownloading more than necessary, but
- Redownloading isn't the end of the world,
- That metric is hard to implement, and
- Documentation-only or library-only changes are very rare anyway since they're usually rolled up with changes to the compiler.

Helps with https://github.com/rust-lang/rust/issues/81930.

r? `@Mark-Simulacrum`
2021-03-04 20:01:10 +09:00
..
bootstrap Rollup merge of #82740 - jyn514:proper-history, r=Mark-Simulacrum 2021-03-04 20:01:10 +09:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci Update Docker to use the correct target 2021-03-01 15:06:32 +01:00
doc Rollup merge of #82315 - jsha:font-display-swap, r=GuillaumeGomez 2021-03-04 20:01:04 +09:00
etc Change twice used large const table to static 2021-03-01 10:41:16 -08:00
librustdoc Rollup merge of #82315 - jsha:font-display-swap, r=GuillaumeGomez 2021-03-04 20:01:04 +09:00
llvm-project@96ae8953e4 Revert LLVM D81803 because it broke Windows 7 2021-02-27 11:09:00 -08:00
rustdoc-json-types Rollup merge of #81891 - CraftSpider:fn-header, r=jyn514 2021-02-14 16:54:45 +01:00
test Rollup merge of #82717 - estebank:issue-70152, r=lcnr 2021-03-04 20:01:09 +09:00
tools Auto merge of #82553 - tmiasko:update-tracing, r=Mark-Simulacrum 2021-03-03 18:01:29 +00:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Update the bootstrap compiler 2021-02-20 17:19:30 -05:00
version bump nightly version to 1.52.0 2021-02-05 16:25:08 +01: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.