Skip to content

Disable download-rustc for library profile #143577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025

Conversation

Noratrieb
Copy link
Member

@Noratrieb Noratrieb commented Jul 7, 2025

The feature currently completely breaks x test (#142505), core functionality of working on the standard library. Therefore it should be disabled by default until that problem is fixed. Having to wait a bit longer for a check build is nothing compared to completely mysterious build errors when testing.

The feature currently completely breaks `x test`, core functionality of working on the standard library.
Therefore it should be disabled by default until that problem is fixed.
Having to wait a bit longer for a check build is nothing compared to completely mysterious build errors when testing.
@rustbot
Copy link
Collaborator

rustbot commented Jul 7, 2025

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot 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) labels Jul 7, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jul 7, 2025

This PR modifies src/bootstrap/defaults.

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

@Noratrieb
Copy link
Member Author

@jieyouxu @Kobzol

You made a PR to document that this doesn't work (rust-lang/rustc-dev-guide#2482), which confused me a bit. if it doesn't work, why not just turn it off?

@jieyouxu
Copy link
Member

jieyouxu commented Jul 7, 2025

Can you also include a warn-level change tracker?

Yes, I think we should disable it for now.

@Kobzol
Copy link
Member

Kobzol commented Jul 7, 2025

@jieyouxu @Kobzol

You made a PR to document that this doesn't work (rust-lang/rustc-dev-guide#2482), which confused me a bit. if it doesn't work, why not just turn it off?

I think we generally expected (or rather, hoped) that the cleanup after the stage0 redesign will go faster, but it's such a deep rabbit hole of subtle invariants and nested layers of scary hotfixes that at this point I think it's fine to just say that we give up and disable download-ci-rustc for the library profile, yeah.

@jieyouxu
Copy link
Member

jieyouxu commented Jul 7, 2025

@Noratrieb said they were on their phone, so I pushed the change tracker entry.
r? @Kobzol

@rustbot rustbot assigned Kobzol and unassigned clubby789 Jul 7, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Jul 7, 2025

@Kobzol
Copy link
Member

Kobzol commented Jul 7, 2025

Thank you.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 7, 2025

📌 Commit 979d7b2 has been approved by Kobzol

It is now in the queue for this repository.

@bors bors 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 Jul 7, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Jul 7, 2025

@bors p=1 (contributor roadblock; but feel free to include in rollups)

bors added a commit that referenced this pull request Jul 7, 2025
Rollup of 11 pull requests

Successful merges:

 - #143130 (doc(std): clarify `NonZero<T>` usage limitation in doc comment)
 - #143415 (Get rid of build-powerpc64le-toolchain.sh)
 - #143464 (Make tests/ui/abi/debug.rs cross-compile)
 - #143482 (Fix short linker error output)
 - #143524 (Move `stable_mir` back to its own crate)
 - #143528 (interpret: rename StackPopCleanup)
 - #143551 (Dont resolve instance of root in `mir_callgraph_cyclic`)
 - #143558 (mbe: Refactors and function extractions in `compile_declarative_macro`)
 - #143563 (std: fix typo in `std::path`)
 - #143564 (compiler: Deduplicate `must_emit_unwind_tables()` comments)
 - #143577 (Disable download-rustc for library profile)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 364dbd6 into rust-lang:master Jul 7, 2025
11 checks passed
rust-timer added a commit that referenced this pull request Jul 7, 2025
Rollup merge of #143577 - Noratrieb:Noratrieb-patch-4, r=Kobzol

Disable download-rustc for library profile

The feature currently completely breaks `x test` (#142505), core functionality of working on the standard library. Therefore it should be disabled by default until that problem is fixed. Having to wait a bit longer for a check build is nothing compared to completely mysterious build errors when testing.
@rustbot rustbot added this to the 1.90.0 milestone Jul 7, 2025
@bors
Copy link
Collaborator

bors commented Jul 7, 2025

⌛ Testing commit 979d7b2 with merge 1b0bc59...

@Noratrieb
Copy link
Member Author

bors what

@Noratrieb Noratrieb deleted the Noratrieb-patch-4 branch July 7, 2025 17:56
@tshepang
Copy link
Member

tshepang commented Jul 7, 2025

it likely got confused by #143577 (comment)

github-actions bot pushed a commit to devnexen/miri that referenced this pull request Jul 8, 2025
Rollup of 11 pull requests

Successful merges:

 - rust-lang/rust#143130 (doc(std): clarify `NonZero<T>` usage limitation in doc comment)
 - rust-lang/rust#143415 (Get rid of build-powerpc64le-toolchain.sh)
 - rust-lang/rust#143464 (Make tests/ui/abi/debug.rs cross-compile)
 - rust-lang/rust#143482 (Fix short linker error output)
 - rust-lang/rust#143524 (Move `stable_mir` back to its own crate)
 - rust-lang/rust#143528 (interpret: rename StackPopCleanup)
 - rust-lang/rust#143551 (Dont resolve instance of root in `mir_callgraph_cyclic`)
 - rust-lang/rust#143558 (mbe: Refactors and function extractions in `compile_declarative_macro`)
 - rust-lang/rust#143563 (std: fix typo in `std::path`)
 - rust-lang/rust#143564 (compiler: Deduplicate `must_emit_unwind_tables()` comments)
 - rust-lang/rust#143577 (Disable download-rustc for library profile)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants