Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Test rustc-dev in distcheck #146124

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
bors merged 2 commits into rust-lang:master from Kobzol:distcheck-ext
Sep 4, 2025
Merged

Test rustc-dev in distcheck #146124

bors merged 2 commits into rust-lang:master from Kobzol:distcheck-ext
Sep 4, 2025

Conversation

Copy link
Member

@Kobzol Kobzol commented Sep 2, 2025

Adds a new distcheck test component.

Fixes: #138646

r? @jieyouxu

try-job: x86_64-gnu-distcheck

RalfJung reacted with heart emoji
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc 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 2, 2025
Copy link
Member Author

Kobzol commented Sep 2, 2025

@bors try

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 2, 2025
Test `rustc-dev` in `distcheck`
try-job: x86_64-gnu-distcheck

This comment has been minimized.

Copy link

rust-bors bot commented Sep 2, 2025

💔 Test for 7282a27 failed: CI. Failed jobs:

This comment has been minimized.

command(&builder.initial_cargo)
.arg("metadata")
.arg("--manifest-path")
.arg("rustc-dev/lib/rustlib/rustc-src/rust/compiler/rustc_ast/Cargo.toml")
Copy link
Member

@RalfJung RalfJung Sep 2, 2025

Choose a reason for hiding this comment

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

Using rustc/Cargo.toml would load a crate that depends on ~all the other crates, which might give better test coverage.

jieyouxu and Kobzol reacted with thumbs up emoji
Copy link
Collaborator

bors commented Sep 3, 2025

☔ The latest upstream changes (presumably #146076) made this pull request unmergeable. Please resolve the merge conflicts.

Copy link
Member

jieyouxu commented Sep 3, 2025

Hm, Ralf's suggestion with using rustc-the-crate makes sense to me.
@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 Sep 3, 2025
Copy link
Collaborator

rustbot commented Sep 3, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Copy link
Member Author

Kobzol commented Sep 3, 2025

@bors try

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 3, 2025
Test `rustc-dev` in `distcheck`
try-job: x86_64-gnu-distcheck
Copy link

rust-bors bot commented Sep 3, 2025

☀️ Try build successful (CI)
Build commit: 3960ea7 (3960ea7b9bd5193577e58daf140d0e9534ce85aa, parent: 51ff895062ba60a7cba53f57af928c3fb7b0f2f4)

Copy link
Member Author

Kobzol commented Sep 3, 2025

Switched to the rustc crate.

@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 Sep 3, 2025
Copy link
Member

@jieyouxu jieyouxu left a comment
edited by rustbot
Loading

Choose a reason for hiding this comment

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

Thanks, the changes themselves look good to me, just a tiny drive-by nit on pre-existing distcheck dir names because they made it even more confusing...

View changes since this review

.current_dir(&src_dir)
.run(builder);
}
distcheck_plain_source_tarball(builder, &root_dir.join("distcheck-plain-src"));
Copy link
Member

@jieyouxu jieyouxu Sep 3, 2025
edited
Loading

Choose a reason for hiding this comment

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

Suggestion: could you add a comment that this is rustc-src while the one below is rust-src? And even maybe change the dir name here to distcheck-rustc-src? I know this is historical, but rustc-src and rust-src are two incredible names that are totally not confusing.

Or maybe just change their dir names to match the actual dist component name, because I find that diverging here introduces even more *-srcs, and it really confused me. As in, distcheck-plain-src checks rustc-src, and distcheck-src checks rust-src...

Kobzol reacted with thumbs up emoji
Copy link
Member

jieyouxu commented Sep 3, 2025

Feel free to r=me after the dir name nit
@rustbot author

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 3, 2025
@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Sep 3, 2025
Copy link
Member Author

Kobzol commented Sep 3, 2025

@bors r=jieyouxu rollup

Copy link
Collaborator

bors commented Sep 3, 2025

📌 Commit fe90610 has been approved by jieyouxu

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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 3, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Sep 4, 2025
Test `rustc-dev` in `distcheck`
Adds a new `distcheck` test component.
Fixes: rust-lang#138646
r? `@jieyouxu`
try-job: x86_64-gnu-distcheck
bors added a commit that referenced this pull request Sep 4, 2025
Rollup of 24 pull requests
Successful merges:
 - #140459 (Add `read_buf` equivalents for positioned reads)
 - #143725 (core: add Peekable::next_if_map)
 - #145209 (Stabilize `path_add_extension`)
 - #145342 (fix drop scope for `super let` bindings within `if let`)
 - #145750 (raw_vec.rs: Remove superfluous fn alloc_guard)
 - #145827 (On unused binding or binding not present in all patterns, suggest potential typo of unit struct/variant or const)
 - #145932 (Allow `inline(always)` with a target feature behind a unstable feature `target_feature_inline_always`.)
 - #145962 (Ensure we emit an allocator shim when only some crate types need one)
 - #145963 (Add LSX accelerated implementation for source file analysis)
 - #146054 (add `#[must_use]` to `array::repeat`)
 - #146090 (Derive `PartialEq` for `InvisibleOrigin`)
 - #146112 (don't uppercase error messages)
 - #146120 (Correct typo in `rustc_errors` comment)
 - #146124 (Test `rustc-dev` in `distcheck`)
 - #146127 (Rename `ToolRustc` to `ToolRustcPrivate`)
 - #146131 (rustdoc-search: add test case for indexing every item type)
 - #146134 (llvm: nvptx: Layout update to match LLVM)
 - #146136 (docs(std): add missing closing code block fences in doc comments)
 - #146137 (Disallow frontmatter in `--cfg` and `--check-cfg` arguments)
 - #146140 (compiletest: cygwin follows windows in using PATH for dynamic libraries)
 - #146150 (fix(rustdoc): match rustc `--emit` precedence )
 - #146155 (Make bootstrap self test parallel)
 - #146161 ([rustdoc] Uncomment code to add scraped rustdoc examples in loaded paths)
 - #146172 (triagebot: configure some pings when certain attributes are used)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1456b67 into rust-lang:master Sep 4, 2025
10 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Sep 4, 2025
rust-timer added a commit that referenced this pull request Sep 4, 2025
Rollup merge of #146124 - Kobzol:distcheck-ext, r=jieyouxu
Test `rustc-dev` in `distcheck`
Adds a new `distcheck` test component.
Fixes: #138646
r? ``@jieyouxu``
try-job: x86_64-gnu-distcheck
@Kobzol Kobzol deleted the distcheck-ext branch September 4, 2025 06:10
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Sep 5, 2025
Rollup of 24 pull requests
Successful merges:
 - rust-lang/rust#140459 (Add `read_buf` equivalents for positioned reads)
 - rust-lang/rust#143725 (core: add Peekable::next_if_map)
 - rust-lang/rust#145209 (Stabilize `path_add_extension`)
 - rust-lang/rust#145342 (fix drop scope for `super let` bindings within `if let`)
 - rust-lang/rust#145750 (raw_vec.rs: Remove superfluous fn alloc_guard)
 - rust-lang/rust#145827 (On unused binding or binding not present in all patterns, suggest potential typo of unit struct/variant or const)
 - rust-lang/rust#145932 (Allow `inline(always)` with a target feature behind a unstable feature `target_feature_inline_always`.)
 - rust-lang/rust#145962 (Ensure we emit an allocator shim when only some crate types need one)
 - rust-lang/rust#145963 (Add LSX accelerated implementation for source file analysis)
 - rust-lang/rust#146054 (add `#[must_use]` to `array::repeat`)
 - rust-lang/rust#146090 (Derive `PartialEq` for `InvisibleOrigin`)
 - rust-lang/rust#146112 (don't uppercase error messages)
 - rust-lang/rust#146120 (Correct typo in `rustc_errors` comment)
 - rust-lang/rust#146124 (Test `rustc-dev` in `distcheck`)
 - rust-lang/rust#146127 (Rename `ToolRustc` to `ToolRustcPrivate`)
 - rust-lang/rust#146131 (rustdoc-search: add test case for indexing every item type)
 - rust-lang/rust#146134 (llvm: nvptx: Layout update to match LLVM)
 - rust-lang/rust#146136 (docs(std): add missing closing code block fences in doc comments)
 - rust-lang/rust#146137 (Disallow frontmatter in `--cfg` and `--check-cfg` arguments)
 - rust-lang/rust#146140 (compiletest: cygwin follows windows in using PATH for dynamic libraries)
 - rust-lang/rust#146150 (fix(rustdoc): match rustc `--emit` precedence )
 - rust-lang/rust#146155 (Make bootstrap self test parallel)
 - rust-lang/rust#146161 ([rustdoc] Uncomment code to add scraped rustdoc examples in loaded paths)
 - rust-lang/rust#146172 (triagebot: configure some pings when certain attributes are used)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@RalfJung RalfJung RalfJung left review comments

@jieyouxu jieyouxu jieyouxu approved these changes

Labels
A-testsuite Area: The testsuite used to check the correctness of rustc 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
Milestone
1.91.0
Development

Successfully merging this pull request may close these issues.

test rustc-dev dist component on CI

AltStyle によって変換されたページ (->オリジナル) /