Skip to content

Conversation

@ranger-ross
Copy link
Member

What does this PR try to resolve?

This PR backports #16385 along with some test fixes from #16380 to make CI happy.

How to test and review this PR?

r? @weihanglo

weihanglo and others added 4 commits December 12, 2025 11:58
```
error: this assertion has a constant value
 --> crates/build-rs-test-lib/src/lib.rs:3:5
  |
3 |     assert!(cfg!(did_run_build_script));
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: consider moving this into a const block: `const { assert!(..) }`
  = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#assertions_on_constants
  = note: `-D clippy::assertions-on-constants` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::assertions_on_constants)]`
```

A bit annoying we can't have `lint.workspace = true` for this crate yet
@rustbot rustbot added A-build-scripts Area: build.rs scripts A-layout Area: target output directory layout, naming, and organization S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 12, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 12, 2025

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.93.0. Please double check that you specified the right target!

@weihanglo weihanglo changed the title [beta] Backport locking fixes [beta-1.93] Backport locking fixes Dec 12, 2025
Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

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

@weihanglo weihanglo merged commit c9e3e80 into rust-lang:rust-1.93.0 Dec 12, 2025
28 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 12, 2025
bors added a commit to rust-lang/rust that referenced this pull request Dec 16, 2025
[beta-1.93] Backport Cargo bug fix for 1.93

2 commits in 2c283a9a5c5968eeb9a8f12313f04feb1ff8dfac..083ac5135f967fd9dc906ab057a2315861c7a80d
2025-12-04 16:47:28 +0000 to 2025-12-11 23:19:46 -0500
- [beta-1.93] Backport locking fixes (rust-lang/cargo#16386)
- [beta-1.93] Downgrade curl-sys to 0.4.83 (rust-lang/cargo/pull/16399)
@rustbot rustbot added this to the 1.93.0 milestone Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-build-scripts Area: build.rs scripts A-layout Area: target output directory layout, naming, and organization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants