From b19d40c518e0fe1377f6c4473dfc3e527f775f20 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Wed, 3 Nov 2021 12:22:15 -0700 Subject: [PATCH 1/3] Ensure date-check cron job is using latest stable Rust This should prevent future failures like this one [1]. [1]: https://github.com/rust-lang/rustc-dev-guide/runs/4067460927?check_suite_focus=true --- .github/workflows/date-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/date-check.yml b/.github/workflows/date-check.yml index c787da071..b808876a4 100644 --- a/.github/workflows/date-check.yml +++ b/.github/workflows/date-check.yml @@ -17,6 +17,10 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 + - name: Ensure Rust is up-to-date + run: | + rustup update stable + - name: Run `date-check` working-directory: ci/date-check run: | From b46d7e1307e889aea1cbdcd7ff573ea9b962be41 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Wed, 3 Nov 2021 12:24:50 -0700 Subject: [PATCH 2/3] Update some date-check comments I removed one of them because it doesn't seem necessary. --- src/overview.md | 2 +- src/rustdoc-internals.md | 2 +- src/tests/intro.md | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/overview.md b/src/overview.md index 26b291d35..0fed0611e 100644 --- a/src/overview.md +++ b/src/overview.md @@ -262,7 +262,7 @@ Moreover, the compiler wasn't originally built to use a query system; the query system has been retrofitted into the compiler, so parts of it are not query-fied yet. Also, LLVM isn't our code, so that isn't querified either. The plan is to eventually query-fy all of the steps listed in the previous section, -but as of February 2021, only the steps between HIR and +but as of February 2021, only the steps between HIR and LLVM IR are query-fied. That is, lexing, parsing, name resolution, and macro expansion are done all at once for the whole program. diff --git a/src/rustdoc-internals.md b/src/rustdoc-internals.md index 112a5dcab..0d7459b1d 100644 --- a/src/rustdoc-internals.md +++ b/src/rustdoc-internals.md @@ -66,7 +66,7 @@ these passes, please let us know!) [44136]: https://github.com/rust-lang/rust/issues/44136 -Here is the list of passes as of February 2021: +Here is the list of passes as of October 2021: - `calculate-doc-coverage` calculates information used for the `--show-coverage` flag. diff --git a/src/tests/intro.md b/src/tests/intro.md index 641913345..3f8ec97ee 100644 --- a/src/tests/intro.md +++ b/src/tests/intro.md @@ -126,8 +126,7 @@ essence, it runs `./x.py test` after building for each of them. The integration bot [bors] is used for coordinating merges to the master branch. When a PR is approved, it goes into a [queue] where merges are tested one at a -time on a wide set of platforms using GitHub Actions (as of January 2021, over 50 different configurations). Due to the limit on the +time on a wide set of platforms using GitHub Actions. Due to the limit on the number of parallel jobs, we run CI under the [rust-lang-ci] organization except for PRs. Most platforms only run the build steps, some run a restricted set of tests, only a subset run the full suite of tests (see Rust's [platform tiers]). From 86fdd815f7a744bf3b06ea2654339654fc104bda Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Thu, 4 Nov 2021 09:30:35 -0700 Subject: [PATCH 3/3] Fix date Co-authored-by: Yuki Okushi --- src/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overview.md b/src/overview.md index 0fed0611e..1334f10b3 100644 --- a/src/overview.md +++ b/src/overview.md @@ -262,7 +262,7 @@ Moreover, the compiler wasn't originally built to use a query system; the query system has been retrofitted into the compiler, so parts of it are not query-fied yet. Also, LLVM isn't our code, so that isn't querified either. The plan is to eventually query-fy all of the steps listed in the previous section, -but as of February 2021, only the steps between HIR and +but as of November 2021, only the steps between HIR and LLVM IR are query-fied. That is, lexing, parsing, name resolution, and macro expansion are done all at once for the whole program.