Skip to content

Rollup of 8 pull requests - #145161

Closed
Zalathar wants to merge 16 commits into
rust-lang:masterfrom
Zalathar:rollup-uyqbw90
Closed

Rollup of 8 pull requests#145161
Zalathar wants to merge 16 commits into
rust-lang:masterfrom
Zalathar:rollup-uyqbw90

Conversation

@Zalathar

@ZalatharZalathar commented Aug 9, 2025

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Kobzoland others added 16 commits August 8, 2025 15:50
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
…p, r=fmease
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc
Followup of rust-lang#144297.
…ouxu
Improve error output when a command fails in bootstrap
I fixed this because it was being an issue for debugging CI failures.
We try to print as much information as possible, just with a slightly less verbose command description in non-verbose mode. The code is now more unified and hopefully simpler to understand.
I also fixed the `format_short_cmd` logic, it was a bit weird after some recent refactors.
Fixes: rust-lang#145002
r? ``@jieyouxu``
CC ``@Shourya742``
… r=jieyouxu
[win][arm64ec] Partial fix for raw-dylib-link-ordinal on Arm64EC
These are the test fixes required to get `raw-dylib-link-ordinal` working on Arm64EC.
For the test to completely pass, we also need an updated `ar_archive_writer` with <rust-lang/ar_archive_writer#24> merged in.
…ctors_lite, r=ChrisDenton
Stabilize `duration_constructors_lite` feature
This closes [tracking issue](rust-lang#140881) and stabilises `Duration::from_hours` and `Duration::from_mins` while not touching a `duration_constructors` feature from the related [tracking issue (2)](rust-lang#120301)
Use `to_ascii_lowercase` to avoid heap alloc in `detect_confuse_type`
A small optimization has been made, using `to_ascii_lowercase()` instead of `to_lowercase().to_string()`.
r? compiler
…ouxu
Override custom Cargo `build-dir` in bootstrap
The context for this issue is in rust-lang#145107. The issue is that if people configure `build-dir`, it would break bootstrap. For now, we just hard-code it to our self-contained target directories inside the build directory.
Tested by putting the following:
```toml
[build]
build-dir = "/tmp/foo"
[unstable]
build-dir = true
```
into `<rustc-checkout>/.cargo/config.toml`. `x build` works with this PR, doesn't work without this PR.
Fixes: rust-lang#145107
Change days-threshold to 28 in [behind-upstream]
Make the days-threshold to 28 to reduce false positives.
[#triagebot > Outdated commit message](https://rust-lang.zulipchat.com/#narrow/channel/224082-triagebot/topic/Outdated.20commit.20message)
r? `@Urgau`
cc `@jieyouxu`
@rustbotrustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-run-make Area: port run-make Makefiles to rmake.rs F-autodiff `#![feature(autodiff)]` 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) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Aug 9, 2025
@Zalathar

Copy link
Copy Markdown
MemberAuthor

Rollup of all currently-eligible PRs, including #145146 with p=1.

@bors r+ rollup=never p=5

@bors

bors commented Aug 9, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit ce531fb has been approved by Zalathar

It is now in the queue for this repository.

@borsbors 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 Aug 9, 2025
bors added a commit that referenced this pull request Aug 9, 2025
Rollup of 8 pull requests
Successful merges:
- #144739 (Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc)
- #145089 (Improve error output when a command fails in bootstrap)
- #145112 ([win][arm64ec] Partial fix for raw-dylib-link-ordinal on Arm64EC)
- #145135 (Stabilize `duration_constructors_lite` feature)
- #145146 (remove `P`)
- #145152 (Use `to_ascii_lowercase` to avoid heap alloc in `detect_confuse_type`)
- #145156 (Override custom Cargo `build-dir` in bootstrap)
- #145160 (Change days-threshold to 28 in [behind-upstream])
Failed merges:
- #145145 (some `derive_more` refactors)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors

bors commented Aug 9, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ce531fb with merge 33792e0...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-msvc-ext1 failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Verifying foo v0.0.1 (C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t2372\foo)
Downloading crates ...
Downloaded bar v1.0.0 (registry `dummy-registry`)
Compiling bar v1.0.0
Compiling foo v0.0.1 (C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage1-tools\x86_64-pc-windows-msvc\tmp\cit\t2372\foo\target\package\foo-0.0.1)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s
failures:

@bors

bors commented Aug 9, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 9, 2025
@Zalathar

Copy link
Copy Markdown
MemberAuthor

Looks flaky? Let's check:

@bors try jobs=x86_64-msvc-ext1

@rust-bors

rust-borsBot commented Aug 10, 2025

Copy link
Copy Markdown
Contributor

⌛ Trying commit ce531fb with merge 6f97d99

To cancel the try build, run the command @bors try cancel.

rust-borsBot added a commit that referenced this pull request Aug 10, 2025
Rollup of 8 pull requests
try-job: x86_64-msvc-ext1
@rust-bors

rust-borsBot commented Aug 10, 2025

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 6f97d99 (6f97d99c44a6675a0701a3ac094ee97d0c885b49, parent: ca77504943887037504c7fc0b9bf06dab3910373)

@rustbotrustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 10, 2025
@Zalathar
Zalathar deleted the rollup-uyqbw90 branch August 10, 2025 03:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-run-makeArea: port run-make Makefiles to rmake.rsF-autodiff`#![feature(autodiff)]`rollupA PR which is a rollupT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-clippyRelevant to the Clippy team.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Zalathar@bors@rust-log-analyzer@rustbot@Kobzol@dpaoliello@GuillaumeGomez@fee1-dead@xizheyin@Kivooeo