Skip to content

Check the entire library and cg_clif workspaces for permitted deps in tidy - #163255

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
bjorn3:stricter_tidy_dep_check
Sep 25, 2026
Merged

rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
bjorn3:stricter_tidy_dep_check

Conversation

@bjorn3

@bjorn3 bjorn3 commented Sep 24, 2026

Copy link
Copy Markdown
Member

We ship the entire library workspace in the rust-src component, so even if the standard library doesn't depend on a crate, having it in the library workspace still increases the amount of storage a rust install takes. And for cg_clif I personally want to keep deps to a minimum even those not for the backend itself.

… tidy

We ship the entire library workspace in the rust-src component, so even
if the standard library doesn't depend on a crate, having it in the
library workspace still increases the amount of storage a rust install
takes. And for cg_clif I personally want to keep deps to a minimum even
those not for the backend itself.
@rustbot

rustbot commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @BoxyUwU

@rustbot rustbot added A-tidy Area: The tidy tool 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 Sep 24, 2026
@rustbot

rustbot commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

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, jieyouxu

Comment thread src/tools/tidy/src/deps.rs Outdated
@bjorn3
bjorn3 force-pushed the stricter_tidy_dep_check branch from 85f350d to 773b82c Compare September 24, 2026 14:14
@bjorn3
bjorn3 force-pushed the stricter_tidy_dep_check branch from 773b82c to fc538ec Compare September 24, 2026 14:23
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-next-trait-solver-polonius failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Important

For more information how to resolve CI failures of this job, visit this link.

@bjorn3

bjorn3 commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

GHA hickup, not a genuine failure.

@clubby789

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

❌ Cannot approve commit fc538ec, because CI currently fails on this PR. Use @bors r+ force to override the PR CI check.

@bjorn3

bjorn3 commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

@bors r=clubby789 force

@rust-bors

rust-bors Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit fc538ec has been approved by clubby789

It is now in the queue for this repository.

Warning

This PR was force-approved despite failing PR CI.

@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 Sep 24, 2026
@bjorn3

bjorn3 commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

@bors rollup

@Kobzol

Kobzol commented Sep 24, 2026

Copy link
Copy Markdown
Member

@bors rollup

(Just noting that the PR attributes are set eagerly, so even if the approval fails because of PR CI, the rollup mode was already set)

jhpratt added a commit to jhpratt/rust that referenced this pull request Sep 24, 2026
…clubby789

Check the entire library and cg_clif workspaces for permitted deps in tidy

We ship the entire library workspace in the rust-src component, so even if the standard library doesn't depend on a crate, having it in the library workspace still increases the amount of storage a rust install takes. And for cg_clif I personally want to keep deps to a minimum even those not for the backend itself.
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup of 9 pull requests

Successful merges:

 - #162228 (tests: Run more pauth tests in CI and make them pass)
 - #162493 (Add support for -Zsanitizer-cfi-minimal-runtime)
 - #163271 (add a leak check test)
 - #163282 (cleanup: clean up more dependencies that are unused)
 - #157562 (Avoid computing layout of enums with non-int discriminants)
 - #162275 (Do not increase recursion depth for coroutine witness and rigid opaques when proving auto traits)
 - #163037 (fix and test `va_arg` on `f128` on `x86`)
 - #163114 (Add regression test for hang on mutually recursive trait impls)
 - #163255 (Check the entire library and cg_clif workspaces for permitted deps in tidy)
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup of 8 pull requests

Successful merges:

 - #162228 (tests: Run more pauth tests in CI and make them pass)
 - #163271 (add a leak check test)
 - #163282 (cleanup: clean up more dependencies that are unused)
 - #157562 (Avoid computing layout of enums with non-int discriminants)
 - #162275 (Do not increase recursion depth for coroutine witness and rigid opaques when proving auto traits)
 - #163037 (fix and test `va_arg` on `f128` on `x86`)
 - #163114 (Add regression test for hang on mutually recursive trait impls)
 - #163255 (Check the entire library and cg_clif workspaces for permitted deps in tidy)
@rust-bors
rust-bors Bot merged commit 6c8f6bd into rust-lang:main Sep 25, 2026
12 of 13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup merge of #163255 - bjorn3:stricter_tidy_dep_check, r=clubby789

Check the entire library and cg_clif workspaces for permitted deps in tidy

We ship the entire library workspace in the rust-src component, so even if the standard library doesn't depend on a crate, having it in the library workspace still increases the amount of storage a rust install takes. And for cg_clif I personally want to keep deps to a minimum even those not for the backend itself.
@bjorn3
bjorn3 deleted the stricter_tidy_dep_check branch September 25, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tidy Area: The tidy tool 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.

5 participants