Skip to content

Comments

Add bootstrap snapshot tests for {install, install src}#152840

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jieyouxu:bootstrap-install-src-no-docs
Feb 20, 2026
Merged

Add bootstrap snapshot tests for {install, install src}#152840
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jieyouxu:bootstrap-install-src-no-docs

Conversation

@jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Feb 19, 2026

And install src with build.docs = false.

This is mostly to get coverage for the baseline to make it easier to review #150845.

@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 Feb 19, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 19, 2026

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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: bootstrap
  • bootstrap expanded to 6 candidates
  • Random selection from Mark-Simulacrum, clubby789

Comment on lines +3009 to +3014
"--set", &format!("install.prefix={}", ctx.normalized_dir()),
"--set", &format!("install.bindir={}", ctx.normalized_dir()),
"--set", &format!("install.libdir={}", ctx.normalized_dir()),
"--set", &format!("install.datadir={}", ctx.normalized_dir()),
"--set", &format!("install.mandir={}", ctx.normalized_dir()),
"--set", &format!("install.sysconfdir={}", ctx.normalized_dir()),
Copy link
Member Author

Choose a reason for hiding this comment

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

Remark: drive-by change to cover all of the install.*dirs + extract the common dir normalization logic.

@rust-log-analyzer

This comment has been minimized.

@jieyouxu
Copy link
Member Author

jieyouxu commented Feb 19, 2026

Oh right. Can't just normalize out the host I think.
@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 19, 2026
And `install src` with `build.docs = false`.
@jieyouxu
Copy link
Member Author

jieyouxu commented Feb 19, 2026

Removed the stray config file used for local testing, and fixed the snapshots to not use host normalization.
@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 19, 2026
@clubby789
Copy link
Contributor

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 19, 2026

📌 Commit a9e6a89 has been approved by clubby789

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Feb 19, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Feb 20, 2026
…docs, r=clubby789

Add bootstrap snapshot tests for {`install`, `install src`}

And `install src` with `build.docs = false`.

This is mostly to get coverage for the baseline to make it easier to review rust-lang#150845.
rust-bors bot pushed a commit that referenced this pull request Feb 20, 2026
Rollup of 7 pull requests

Successful merges:

 - #152057 (bootstrap: respect POSIX jobserver)
 - #152818 (DOC: do not link to "nightly" in Iterator::by_ref() docstring)
 - #152840 (Add bootstrap snapshot tests for {`install`, `install src`})
 - #152846 (Clarify some variable names in the query proc-macro)
 - #152858 (Fix typo in doc for core::mem::type_info::Struct)
 - #152861 (resolve: do not suggest `_` for unresolved imports)
 - #152873 (std::ops::ControlFlow - use "a" before `Result`)
jhpratt added a commit to jhpratt/rust that referenced this pull request Feb 20, 2026
…docs, r=clubby789

Add bootstrap snapshot tests for {`install`, `install src`}

And `install src` with `build.docs = false`.

This is mostly to get coverage for the baseline to make it easier to review rust-lang#150845.
rust-bors bot pushed a commit that referenced this pull request Feb 20, 2026
Rollup of 8 pull requests

Successful merges:

 - #152057 (bootstrap: respect POSIX jobserver)
 - #152527 (Remove -Zemit-thin-lto flag)
 - #152818 (DOC: do not link to "nightly" in Iterator::by_ref() docstring)
 - #152840 (Add bootstrap snapshot tests for {`install`, `install src`})
 - #152846 (Clarify some variable names in the query proc-macro)
 - #152858 (Fix typo in doc for core::mem::type_info::Struct)
 - #152861 (resolve: do not suggest `_` for unresolved imports)
 - #152873 (std::ops::ControlFlow - use "a" before `Result`)
rust-bors bot pushed a commit that referenced this pull request Feb 20, 2026
…uwer

Rollup of 11 pull requests

Successful merges:

 - #152759 (Simpler `find_attr!()`)
 - #152057 (bootstrap: respect POSIX jobserver)
 - #152818 (DOC: do not link to "nightly" in Iterator::by_ref() docstring)
 - #152840 (Add bootstrap snapshot tests for {`install`, `install src`})
 - #152844 (Rename `DepGraphQuery` to `RetainedDepGraph`)
 - #152846 (Clarify some variable names in the query proc-macro)
 - #152858 (Fix typo in doc for core::mem::type_info::Struct)
 - #152861 (resolve: do not suggest `_` for unresolved imports)
 - #152873 (std::ops::ControlFlow - use "a" before `Result`)
 - #152877 (std::ops::ControlFlow - use normal comment for internal methods)
 - #152883 (Deny final not followed by item)
@rust-bors rust-bors bot merged commit 29871ea into rust-lang:main Feb 20, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 20, 2026
rust-timer added a commit that referenced this pull request Feb 20, 2026
Rollup merge of #152840 - jieyouxu:bootstrap-install-src-no-docs, r=clubby789

Add bootstrap snapshot tests for {`install`, `install src`}

And `install src` with `build.docs = false`.

This is mostly to get coverage for the baseline to make it easier to review #150845.
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.

4 participants