about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-31 20:36:24 +0200
committerGitHub <noreply@github.com>2024-08-31 20:36:24 +0200
commite3795af77f6389b3ef5f54981abe435a9c1f0b44 (patch)
treec88bc148852c02059b397b782b333d3e5686360a /tests/rustdoc-js-std/parser-errors.js
parent6a96e7a255a61c5c888dd2b5fb1e13a7de64cc3a (diff)
parent1a743710aa80b73af7023e3975097c59a47d9d01 (diff)
downloadrust-e3795af77f6389b3ef5f54981abe435a9c1f0b44.tar.gz
rust-e3795af77f6389b3ef5f54981abe435a9c1f0b44.zip
Rollup merge of #129651 - onur-ozkan:stage0-target-sanity-check, r=Kobzol
skip stage 0 target check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set

When adding a new target to `rustc` and extending `STAGE0_MISSING_TARGETS`, there is a chance that in the merge CI bootstrap target sanity check might fail [here](https://github.com/rust-lang/rust/blob/26d27b7c8729fb61fe8321fcd2ce734a79aa695d/src/bootstrap/src/core/sanity.rs#L243-L256) because the stage 0 compiler will assume to already support the new target since `opt-dist` uses the previously compiled compiler as the stage 0 compiler.

This PR skips this check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set, and makes `opt-dist` to set `BOOTSTRAP_SKIP_TARGET_SANITY` so bootstrap doesn't run this logic for opt-dist tests.

Fixes https://github.com/rust-lang/rust/pull/127021#issuecomment-2308782315.

Zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/.60STAGE0_MISSING_TARGETS.60.20seems.20to.20check.20stage1

Blocker for https://github.com/rust-lang/rust/pull/127021
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions