Introduce proper build.compiletest-allow-stage0 config option

In favor of the adhoc `COMPILETEST_FORCE_STAGE0` env var.
This commit is contained in:
Jieyou Xu 2025-07-30 19:54:16 +08:00
parent 919c409243
commit 0cf6eb5f75
No known key found for this signature in database
GPG key ID: 045B995028EA6AFC
4 changed files with 24 additions and 6 deletions

View file

@ -465,6 +465,11 @@
# What custom diff tool to use for displaying compiletest tests.
#build.compiletest-diff-tool = <none>
# Whether to allow `compiletest` self-tests and `compiletest`-managed test
# suites to be run against the stage 0 rustc. This is only intended to be used
# when the stage 0 compiler is actually built from in-tree sources.
#build.compiletest-allow-stage0 = false
# Whether to use the precompiled stage0 libtest with compiletest.
#build.compiletest-use-stage0-libtest = true