Skip to content

Remove usage of compiletest-use-stage0-libtest from CI - #147188

Merged
bors merged 2 commits into
rust-lang:masterfrom
Kobzol:remove-compiletest-stage-1
Oct 1, 2025
Merged

Remove usage of compiletest-use-stage0-libtest from CI#147188
bors merged 2 commits into
rust-lang:masterfrom
Kobzol:remove-compiletest-stage-1

Conversation

@Kobzol

Copy link
Copy Markdown
Member

It shouldn't be needed anymore after #146929.

r? @Zalathar

@rustbot

Copy link
Copy Markdown
Collaborator

This PR modifies src/bootstrap/defaults.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@rustbotrustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc labels Sep 30, 2025
@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Sep 30, 2025
Comment on lines -10 to -11
# Use libtest built from the source tree instead of the precompiled one from stage 0.
compiletest-use-stage0-libtest = false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me that I forgot to update the docs for compiletest-use-stage0-libtest in bootstrap.example.toml; feel free to do that in this PR if you want.

@Zalathar

Copy link
Copy Markdown
Member

LGTM.

I'm not sure whether it's OK for me to approve this (with only a T-compiler hat), but if you think it's fine then r=me.

@jieyouxujieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can r=Zalathar and me after updating the bootstrap.example.toml doc, thanks

View changes since this review

@jieyouxu

Copy link
Copy Markdown
Member

I'm not sure whether it's OK for me to approve this (with only a T-compiler hat), but if you think it's fine then r=me.

I think it's perfectly fine considering you've been heavily involved with removing this hack 😆

@jieyouxujieyouxu self-assigned this Oct 1, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

This PR modifies bootstrap.example.toml.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@Kobzol

Copy link
Copy Markdown
MemberAuthor

I removed the config from the example config file, I think that's better than to say that it's just waiting for removal.

@jieyouxu

Copy link
Copy Markdown
Member

Wait actually can you double-check if rustc-dev-guide has any mention of this flag?

(Not at home currently.)

@Kobzol

Copy link
Copy Markdown
MemberAuthor

Haven't found any.

@jieyouxu

Copy link
Copy Markdown
Member

Thanks for checking
@bors r=Zalathar,jieyouxu rollup

@bors

bors commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 3186902 has been approved by Zalathar,jieyouxu

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 1, 2025
@ZalatharZalathar mentioned this pull request Oct 1, 2025
bors added a commit that referenced this pull request Oct 1, 2025
Rollup of 11 pull requests
Successful merges:
- #146918 (add regression test)
- #146980 (simplify setup_constraining_predicates, and note it is potentially cubic)
- #147170 (compiletest: Pass around `DirectiveLine` instead of bare strings)
- #147180 (add tests)
- #147188 (Remove usage of `compiletest-use-stage0-libtest` from CI)
- #147189 (Replace `rustc_span::Span` with a stripped down version for librustdoc's highlighter)
- #147199 (remove outdated comment in (inner) `InferCtxt`)
- #147200 (Fix autodiff empty ret regression)
- #147209 (Remove `no-remap-src-base` from tests)
- #147213 (Fix broken STD build for ESP-IDF)
- #147217 (Don't create a top-level `true` directory when running UI tests)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit ca8ed7e into rust-lang:masterOct 1, 2025
10 checks passed
@rustbotrustbot added this to the 1.92.0 milestone Oct 1, 2025
rust-timer added a commit that referenced this pull request Oct 1, 2025
Rollup merge of #147188 - Kobzol:remove-compiletest-stage-1, r=Zalathar,jieyouxu
Remove usage of `compiletest-use-stage0-libtest` from CI
It shouldn't be needed anymore after #146929.
r? `@Zalathar`
@Kobzol
Kobzol deleted the remove-compiletest-stage-1 branch October 1, 2025 20:39
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CIArea: Our Github Actions CIA-testsuiteArea: The testsuite used to check the correctness of rustcS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Kobzol@rustbot@Zalathar@jieyouxu@bors