Skip to content

Conversation

@weihanglo
Copy link
Member

This is for people rebuilding stdlib directly from stage 0 with the full toolchain from rust-src rustup component. The toolchain itself should have sufficient LLVM tools, so CMake and LLVM are not required when build.local-rebuild = true

Fixes #148835

r? Kobzol

This is for people rebuilding stdlib directly from stage 0
with the full toolchain from rust-src rustup component.
The toolchain itself should have sufficient LLVM tools,
so CMake and LLVM are not required when `build.local-rebuild = true`
@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 Nov 12, 2025
@Kobzol
Copy link
Member

Kobzol commented Nov 12, 2025

It seems harmless enough. If you are doing a local rebuild, chances are that you had to have some LLVM available for that. And this is just a sanity check, so it should be fine.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 12, 2025

📌 Commit b1e8d56 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 Nov 12, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 13, 2025
bootstrap: dont require cmake if local-rebuild is enabled

This is for people rebuilding stdlib directly from stage 0 with the full toolchain from rust-src rustup component. The toolchain itself should have sufficient LLVM tools, so CMake and LLVM are not required when `build.local-rebuild = true`

Fixes rust-lang#148835

r? Kobzol
bors added a commit that referenced this pull request Nov 13, 2025
Rollup of 7 pull requests

Successful merges:

 - #147701 (rustdoc: don't ignore path distance for doc aliases)
 - #148735 (Fix ICE caused by invalid spans for shrink_file)
 - #148839 (fix rtsan_nonblocking_async lint closure ICE)
 - #148846 (add a test for combining RPIT with explicit tail calls)
 - #148872 (fix: Do not ICE when missing match arm with ill-formed subty is met)
 - #148880 (Remove explicit install of `eslint` inside of `tidy`'s Dockerfile)
 - #148883 (bootstrap: dont require cmake if local-rebuild is enabled)

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.

Build stage 0 rust-std from rust-src with local rust (again)

4 participants